Skip to content

Install binaries in local appdata - #37

Merged
Gymnasiast merged 2 commits into
masterfrom
change/install-binaries-in-local-appdata
May 11, 2025
Merged

Gymnasiast merged 2 commits into
masterfrom
change/install-binaries-in-local-appdata

Conversation

@Gymnasiast

@Gymnasiast Gymnasiast commented May 10, 2025

Copy link
Copy Markdown
Member

The launcher currently tries to put the binaries in a subfolder of the user’s game files, which causes problems with OneDrive and isn’t really a good place to store these to begin with.

This makes the code uses %LOCALAPPDATA% instead. This seems to be the best place, as the binaries can be machine-specific, which is why I didn’t pick %APPDATA%. (This is only relevant to roaming profiles, but we might as well do it right while we’re at it.)

On Linux, this puts the files in ~/.local/share/Open{RCT2,Loco}/bin

The launcher currently tries to put the binaries in a subfolder
of the user’s game files, which causes problems with OneDrive
and isn’t really a good place to store these to begin with.

This makes the code uses %LOCALAPPDATA% instead. This seems to be
the best place, as the binaries can be machine-specific, which is
why I didn’t pick %APPDATA%. (This is only relevant to roaming
profiles, but we might as well do it right while we’re at it.)

On Linux, this puts the files in ~/.local/share/Open{RCT2,Loco}
Comment thread src/IntelOrca.OpenLauncher.Core/InstallService.cs

@AaronVanGeffen AaronVanGeffen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me. Players will have to remove old bin folders manually after upgrading, but I think that can't easily be helped. Let's go with this as-is.

@Gymnasiast
Gymnasiast merged commit cb50cd3 into master May 11, 2025
@Gymnasiast
Gymnasiast deleted the change/install-binaries-in-local-appdata branch May 11, 2025 19:49
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.

2 participants