1
0
Fork 0
mirror of synced 2024-06-27 02:30:31 +12:00

Add check at startup, if game executable exists

This commit is contained in:
Dummerle 2022-01-13 20:11:20 +01:00
parent 0d11c8ecc4
commit 761204aa80
No known key found for this signature in database
GPG key ID: AB68CC59CA39F2F1

View file

@ -158,6 +158,12 @@ class App(QApplication):
self.mainwindow.show_window_centralized()
def start_app(self):
for igame in self.core.get_installed_list():
if not os.path.exists(igame.executable):
igame.needs_verification = True
self.core.lgd.set_installed_game(igame.app_name, igame)
self.mainwindow = MainWindow()
self.launch_dialog.close()
self.tray_icon = TrayIcon(self)