From 761204aa80198c6452f8002d6b03261697a6688c Mon Sep 17 00:00:00 2001 From: Dummerle <44114474+Dummerle@users.noreply.github.com> Date: Thu, 13 Jan 2022 20:11:20 +0100 Subject: [PATCH] Add check at startup, if game executable exists --- rare/app.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rare/app.py b/rare/app.py index a8524c89..e7a51658 100644 --- a/rare/app.py +++ b/rare/app.py @@ -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)