Merge branch 'fix-startup-crash-non-portable' into 'master'

Fix non-portable startup crash

See merge request openlp/openlp!530
This commit is contained in:
Tim Bentley 2022-12-29 08:01:47 +00:00
commit c342509f75
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ def main():
else:
application.setApplicationName('OpenLP')
set_up_logging(AppLocation.get_directory(AppLocation.CacheDir))
set_up_web_engine_cache(portable_path / 'Other' / 'web_cache')
set_up_web_engine_cache(AppLocation.get_directory(AppLocation.CacheDir) / 'web_cache')
# Set the libvlc environment variable if we're frozen
if getattr(sys, 'frozen', False) and is_win():
# Path to libvlc and the plugins