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

Gog-Launcher tries to move the entiry root directory ("/*")! #315

Open
Malbeth81 opened this issue Sep 7, 2024 · 2 comments
Open

Gog-Launcher tries to move the entiry root directory ("/*")! #315

Malbeth81 opened this issue Sep 7, 2024 · 2 comments

Comments

@Malbeth81
Copy link

Malbeth81 commented Sep 7, 2024

After trying to launch a GOG game (Horizon Zero Dawn) I found that my disk was full, I had over 300GB free so it didn't make sense, I then found that my entire disk has been copied into the game's folder!

I proceeded to uninstall the game and try again, and it did the same thing. So I took a look inside the gog-launcher and found this:

mv $appdir/* .

If the result of the find ($appdir) is an empty string, this command will actually try to move the entire root directory inside the working directory! I have lost some of my files in my home directory as a result, because I didn't know it was moving them when I uninstalled the game...

This needs to be fixed ASAP!

@alkazar
Copy link
Member

alkazar commented Sep 7, 2024

Oof, thanks. Horizon Zero Dawn doesn't have a goggame info file?

@Malbeth81
Copy link
Author

Nope, doesn't look like it does, I just reinstalled the game using the web portal to confirm.

20240907_123104

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