Implement Native Proton Support and Per-Game Isolation for Linux. #1873
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



When submitting this pull request, I confirm the following (please check the boxes):
Fill in the PR content:
Major Linux Backend Re-Architecture (Proton & XDG)
Hey team this PR is a big one It's not just a new feature it's a complete architectural rework for the Linux version of Hydra The goal is simple make Hydra a stable and first-class game launcher that can actually compete with Lutris and Steam on Linux.
I’ve focused on implementing proper standards isolation and execution logic.
Heads up: Since this is a core architectural change, please give the code a thorough review and feel free to refine the implementation (especially shell scripts) based on your deeper system understanding.
What I Implemented (The Technical Breakdown)
1. Standards and Filesystem Compliance (XDG)
$XDG_CONFIG_HOME/hydra$XDG_DATA_HOME/hydra2. Proton Orchestration & Isolation Module
$XDG_DATA_HOME/hydra/prefixes/{GameID}path and solves 99% of dependency conflictsSTEAM_COMPAT_DATA_PATHandWINEPREFIXbefore starting the game binary3. UI and Desktop Integration
.desktopFiles: Generating and installing standard.desktopfiles so installed games appear directly in system application menuschild_process) to ensure proper POSIX compliance and clean process terminationI haven't included screenshots because I believe a feature of this architectural depth is best reviewed by compiling and testing the code directly Thanks for taking the time to review