mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[core] Catch FileNotFoundError when removing synced EGL manifest
This commit is contained in:
parent
3bc819e567
commit
180692195f
|
@ -1749,6 +1749,9 @@ class LegendaryCore:
|
|||
self.egl.delete_manifest(igame.app_name)
|
||||
except ValueError as e:
|
||||
self.log.warning(f'Deleting EGL manifest failed: {e!r}')
|
||||
except FileNotFoundError:
|
||||
self.log.warning(f'EGL manifest was already deleted, in case you uninstalled the Epic Games Launcher'
|
||||
f' please disable and unlink EGL Sync.')
|
||||
|
||||
if delete_files:
|
||||
delete_folder(os.path.join(igame.install_path, '.egstore'))
|
||||
|
|
Loading…
Reference in a new issue