-
Notifications
You must be signed in to change notification settings - Fork 7
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
Select target directory for game files on first run #40
Comments
Since last release, So, it's following the standard behavior of Linux applications. |
Thank you for attending this issue, but: |
So there are already 2 separate options how you can set it. EDIT: And of course you can also just use symlinks. |
How to say it something about XDG_STATE_HOME or write-path ? Note symlinks don't work on network folders and some other filesystems. |
There are many options
I strongly recommend not putting your home user directory on filesystem that doesn't support basic features like that, or overall putting it on networked filesystem. Putting BAR on networked file system is also pretty bad idea as it will very significantly slow down game load times (10k files to read) |
It's not a rare practice to mount ~/Documents folder on a network resource. About launcher creation and registration with an additional shell script, I believed BAR app was targeted to unexperienced users. |
As I noted already, this was resolved, and launcher is now following the freedesktop XDG specification and not installing files in Documents.
I've listed multiple options. Changing the installation directory, unlike on Windows, is uncommon for Linux software, and I consider it an advanced configuration option. BAR is not targeting any specific category of users, but we try to make it streamlined for all users. Changing directory is possible and I consider advanced configuration that doesn't have to be easy. If somebody external will be willing to write some nice smooth prompts and GUI for picking up directory on the first run, handle properly different cases and it wouldn't add a lot of complexity to launcher, I would accept such PR. So, I will reopen this, but it needs external contributor to resolve. |
Sorry, I didn't understand well the XDG implementation now implies to not install files in concrete ~/Documents About uncommon selection of install directory on GNU/Linux, this is because GNU/Linux distributions have already defined FHS destinations for all software, and this structure is armonized with package managing (Dpkg, RPM, etc). Any installation process out of package manager integration, and even more in unprivileged context (no root permissions), should ask user for things like program files directory and/or data files directory. |
No. Please read what XDG Specification is about. Also read full commit message of change that added implementation to launcher: b08cb88. |
XDG specifications are focused on GUI-specific behaviour, while FHS is focused on a wider scope: Unix-like including GNU/Linux. And sure we are converging to same point, coming from each one's perspective. |
There is nothing in the spec that differeciates between GUI or non-GUI applications. It's generic and applicable to all types of applications that store user specific data. I'm also not sure how that comment relates to what is discussed in this issue, which is: whatever setting where to save game data is advanced configuration that needs to be exposed on the first run. |
XDG = X Desktop Group. But yes, thread's focus is: Whatever setting where to save game data as configuration that needs to be offered on the first run |
AppImage installs, updates and downloads studd to user's "Documents" directory.
Sometimes user has another disk volume with appropiate space, or even faster for games.
And sometimes "Documents" directory is a network drive, inconvenient for software or rapid i/o.
AppImage should ask where to install files on first run.
The text was updated successfully, but these errors were encountered: