Skip to content

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.

@RossBrunton RossBrunton force-pushed the flatpak branch 2 times, most recently from 0e76749 to a9ed932 Compare February 18, 2025 22:45
@RossBrunton
Copy link
Author

Is there anything blocking this from being accepted?

@gegoxaren
Copy link

Why has this not been merged yet?

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.
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"

3 participants