Fix startup check for game executable
This commit is contained in:
parent
8ff201c729
commit
9d4abedd1d
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ class App(QApplication):
|
||||||
legendary_utils.uninstall(igame.app_name, self.core)
|
legendary_utils.uninstall(igame.app_name, self.core)
|
||||||
logger.info(f"Uninstalled {igame.title}, because no game files exist")
|
logger.info(f"Uninstalled {igame.title}, because no game files exist")
|
||||||
continue
|
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
|
igame.needs_verification = True
|
||||||
self.core.lgd.set_installed_game(igame.app_name, igame)
|
self.core.lgd.set_installed_game(igame.app_name, igame)
|
||||||
logger.info(f"{igame.title} needs verification")
|
logger.info(f"{igame.title} needs verification")
|
||||||
|
|
Loading…
Reference in a new issue