Compare commits

..

6 Commits

Author SHA1 Message Date
79af455e50 Добавлены встроенные переопределения для автоустановок
All checks were successful
Code and build check / Check code (pull_request) Successful in 1m49s
Code and build check / Build with uv (pull_request) Successful in 1m6s
2025-07-05 07:47:48 +00:00
6464d5f87c chore(build): disable Fedora run-time dependency generator
All checks were successful
Code and build check / Check code (push) Successful in 1m38s
Code and build check / Build with uv (push) Successful in 52s
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-07-05 12:26:59 +05:00
ac94706f0b feat: added PROCESS_LOG = 1 on PortProton start
All checks were successful
Code and build check / Check code (push) Successful in 1m43s
Code and build check / Build with uv (push) Successful in 54s
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-07-04 20:24:42 +05:00
a5b12fb00c chore(changelog): update
All checks were successful
Code and build check / Check code (push) Successful in 1m45s
Code and build check / Build with uv (push) Successful in 58s
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-07-04 12:10:03 +05:00
b42f476f56 fix(input_manager): prevent game launch when any modal dialog is open
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-07-04 12:08:43 +05:00
fd1c4e94fa fix: "File not found" error for Steam games in context menu
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-07-04 11:58:25 +05:00
6 changed files with 14 additions and 1 deletions

View File

@ -30,6 +30,7 @@
- Ошибки темы в Gamescope
- Размер иконок для desktop файлов теперь 128x128
- Пустая область при обновлении сетки игр
- Запуск игры при открытом оверлее
### Contributors
- @Dervart

View File

@ -2,6 +2,7 @@
%global pypi_version 0.1.1
%global oname PortProtonQt
%global build_timestamp %(date +"%Y%m%d")
%global _python_no_extras_requires 1
%global rel_build 1.git.%{build_timestamp}%{?dist}
@ -47,6 +48,8 @@ Requires: xdg-utils
%description -n python3-%{pypi_name}-git
This application provides a sleek, intuitive graphical interface for managing and launching games from PortProton, Steam, and Epic Games Store. It consolidates your game libraries into a single, user-friendly hub for seamless navigation and organization. Its lightweight structure and cross-platform support deliver a cohesive gaming experience, eliminating the need for multiple launchers. Unique PortProton integration enhances Linux gaming, enabling effortless play of Windows-based titles with minimal setup.
%{?python_disable_dependency_generator}
%prep
git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git

View File

@ -1,6 +1,7 @@
%global pypi_name portprotonqt
%global pypi_version 0.1.2
%global oname PortProtonQt
%global _python_no_extras_requires 1
Name: python-%{pypi_name}
Version: %{pypi_version}
@ -44,6 +45,8 @@ Requires: xdg-utils
%description -n python3-%{pypi_name}
This application provides a sleek, intuitive graphical interface for managing and launching games from PortProton, Steam, and Epic Games Store. It consolidates your game libraries into a single, user-friendly hub for seamless navigation and organization. Its lightweight structure and cross-platform support deliver a cohesive gaming experience, eliminating the need for multiple launchers. Unique PortProton integration enhances Linux gaming, enabling effortless play of Windows-based titles with minimal setup.
%{?python_disable_dependency_generator}
%prep
git clone https://git.linux-gaming.ru/Boria138/PortProtonQt
cd %{oname}

View File

@ -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:

View File

@ -369,6 +369,7 @@ class InputManager(QObject):
active = QApplication.activeWindow()
focused = QApplication.focusWidget()
popup = QApplication.activePopupWidget()
modal_dialog = QApplication.activeModalWidget()
# Handle Guide button to open system overlay
if button_code in BUTTONS['guide']:
@ -460,7 +461,7 @@ class InputManager(QObject):
return
# Game launch on detail page
if (button_code in BUTTONS['confirm']) and self._parent.currentDetailPage is not None and self._parent.current_add_game_dialog is None:
if (button_code in BUTTONS['confirm']) and self._parent.currentDetailPage is not None and modal_dialog is None:
if self._parent.current_exec_line:
self.trigger_rumble()
self._parent.toggleGame(self._parent.current_exec_line, None)

View File

@ -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'):