bs-manager
bs-manager copied to clipboard
Add support for launching Beat Saber on Linux
Scope
This PR adds support for launching Beat Saber on Linux.
Closes #441.
Implementation
A new application setting has been added, "Proton Path", which the user must specify before the game can be launched. This setting will only be shown to Linux users. When the game is launched, instead of running the Beat Saber executable directly, Proton will be run with the appropriate environment variables and arguments.
I'm still missing some Proton settings since there are a few bugs in Beat Saber I've run into when launching through BSManager that I haven't been able to reproduce when launching through Steam. Other than that, this is ready for a preliminary review. If there's anything you'd like me to implement differently please let me know :)
How to Test (Linux)
Note: Testing on Windows should also be done to ensure this PR doesn't cause any regressions.
- Set the Proton path in settings.
- Launch the game.
Emoji Guide
For reviewers: Emojis can be added to comments to call out blocking versus non-blocking feedback.
E.g: Praise, minor suggestions, or clarifying questions that donβt block merging the PR.
π’ Nice refactor!
π‘ Why was the default value removed?
E.g: Blocking feedback must be addressed before merging.
π΄ This change will break something important
Blocking | π΄ β π¨ | RED |
Non-blocking | π‘ π‘ π€ π | Yellow, thinking, etc |
Praise | π’ π π π π | Green, hearts, positive emojis, etc |
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
Thanks a lot ! ππ₯ Tested on windows and not problem π @Insprill do you think that BSM is stable enough now on Linux to ship an AppImage? (not in production first of course, it will be shipped with the next alpha π )
From my testing, yes! Everything is working fine on my system. I'll be happy to continue maintaining Linux support if (probably when :sweat_smile:) any issues pop up as well :)