Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to use Flatpaks under Linux #1462

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

RossBrunton
Copy link

@RossBrunton RossBrunton commented Oct 2, 2024

This adds a configuration setting "linuxUseFlatpak" which controls whether Steam should be launched as a Flatpak or not. By default this is detected automatically based on the path, but an option in the settings can override the behaviour.

If this option is enabled, we first check if we are able to read from our config directory. If not, we display an error and ask the user to give us permission. If we do, then we launch Steam through flatpak rather than the binary directly.

Closes: #1144, #1051

@CLAassistant
Copy link

CLAassistant commented Oct 2, 2024

CLA assistant check
All committers have signed the CLA.

@RossBrunton
Copy link
Author

So I did all this work, and then decided to check if someone else had done it, and it seems both @wash2 ( #798 ) and @PedroVH ( #1064 ) have done this earlier. Guess I should have checked first.

Anyway, I think hopefully this should be more sophisticated, since it doesn't assume any hardcoded paths, allows the user to configure things and shows up an error if it isn't configured correctly.

Also, full disclosure, I've only tested this on Lethal Company, and I'm super unfamiliar with typescript.

This adds a configuration setting "linuxUseFlatpak" which controls
whether Steam should be launched as a Flatpak or not. By default this
is detected automatically based on the path, but an option in the
settings can override the behaviour.

If this option is enabled, we first check if we are able to read from
our config directory. If not, we display an error and ask the user to
give us permission. If we do, then we launch Steam through flatpak
rather than the binary directly.
@RossBrunton
Copy link
Author

Is there anything blocking this from being accepted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] - Flatpak steam detected but cannot "Start Modded"
2 participants