From fd1c4e94fa360c2b5cc033b6758904ce79b0bf36 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Fri, 4 Jul 2025 11:58:25 +0500 Subject: [PATCH] fix: "File not found" error for Steam games in context menu Signed-off-by: Boris Yumankulov --- portprotonqt/context_menu_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/portprotonqt/context_menu_manager.py b/portprotonqt/context_menu_manager.py index e375298..12ca126 100644 --- a/portprotonqt/context_menu_manager.py +++ b/portprotonqt/context_menu_manager.py @@ -137,6 +137,8 @@ class ContextMenuManager: if not exe_path or not os.path.exists(exe_path): return False current_exe = os.path.basename(exe_path) + elif game_card.game_source == "steam": + return False else: exec_line = self._get_exec_line(game_card.name, game_card.exec_line) if not exec_line: