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

Slightly overthought linux locations #8

Open
Miepee opened this issue Nov 29, 2023 · 5 comments
Open

Slightly overthought linux locations #8

Miepee opened this issue Nov 29, 2023 · 5 comments

Comments

@Miepee
Copy link

Miepee commented Nov 29, 2023

private static readonly string[] utLinuxLocations = { "{0}/.steam/steam/steamapps/common/Undertale/", "{0}/.local/share/steam/steamapps/common/Undertale/",

A) there are duplicate paths in there
B) ~/.steam is a symlink. You should probably ignore it and only use the ~/.local/share path instead.

@VladiStep
Copy link
Owner

A) Are there? The difference is "Steam"
B) So it's safe to remove the "~/.steam" path?

@Miepee
Copy link
Author

Miepee commented Nov 29, 2023

A) Are there? The difference is "Steam"

Uppercase Steam will to my knowledge never exist. steam writes everything in lowercase in its data directory, and its folder in XDG_DATA is always in uppercase.

B) So it's safe to remove the "~/.steam" path?

yes, you should only need "{0}/.local/share/Steam/steamapps/common/Undertale/"

@VladiStep
Copy link
Owner

A) Apparently, it does exist:
image

@Miepee
Copy link
Author

Miepee commented Nov 29, 2023

steam writes everything in lowercase in its data directory

~/.local/share is not steam's data directory (it's XDG_DATA). ~/.local/share/Steam is :)
basically, see the answer to B.

VladiStep added a commit that referenced this issue Jun 16, 2024
@VladiStep
Copy link
Owner

VladiStep commented Jun 16, 2024

Sorry, but I really don't feel removing them, at least for now.

(and sorry for kinda misleading name of the commit above)

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

No branches or pull requests

2 participants