1
0
Fork 0
mirror of synced 2024-06-26 18:20:50 +12:00

Fix startup check for game executable

This commit is contained in:
Dummerle 2022-02-05 13:56:28 +01:00
parent 8ff201c729
commit 9d4abedd1d
No known key found for this signature in database
GPG key ID: AB68CC59CA39F2F1

View file

@ -164,7 +164,7 @@ class App(QApplication):
legendary_utils.uninstall(igame.app_name, self.core)
logger.info(f"Uninstalled {igame.title}, because no game files exist")
continue
if not os.path.exists(os.path.join(igame.install_path, igame.executable)):
if not os.path.exists(os.path.join(igame.install_path, igame.executable.replace("\\", "/").lstrip("/"))):
igame.needs_verification = True
self.core.lgd.set_installed_game(igame.app_name, igame)
logger.info(f"{igame.title} needs verification")