From ac94706f0b57f6395ada919ccd437d05a0b367bf Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Fri, 4 Jul 2025 20:24:42 +0500 Subject: [PATCH] feat: added PROCESS_LOG = 1 on PortProton start Signed-off-by: Boris Yumankulov --- portprotonqt/main_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/portprotonqt/main_window.py b/portprotonqt/main_window.py index 556a59c..099b416 100644 --- a/portprotonqt/main_window.py +++ b/portprotonqt/main_window.py @@ -1984,6 +1984,7 @@ class MainWindow(QMainWindow): env_vars = os.environ.copy() env_vars['START_FROM_STEAM'] = '1' env_vars['LEGENDARY_CONFIG_PATH'] = self.legendary_config_path + env_vars['PROCESS_LOG'] = '1' wrapper = "flatpak run ru.linux_gaming.PortProton" if self.portproton_location is not None and ".var" not in self.portproton_location: @@ -2091,8 +2092,10 @@ class MainWindow(QMainWindow): if entry_exec_split[0] == "env" and len(entry_exec_split) > 1 and 'data/scripts/start.sh' in entry_exec_split[1]: env_vars['START_FROM_STEAM'] = '1' + env_vars['PROCESS_LOG'] = '1' elif entry_exec_split[0] == "flatpak": env_vars['START_FROM_STEAM'] = '1' + env_vars['PROCESS_LOG'] = '1' # Delay disabling gamepad handling to allow rumble to complete if hasattr(self, 'input_manager'):