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

Incorrect Exec Key in Desktop Entry File #5821

Open
jonathan-gruber-jg opened this issue Apr 13, 2024 · 0 comments
Open

Incorrect Exec Key in Desktop Entry File #5821

jonathan-gruber-jg opened this issue Apr 13, 2024 · 0 comments

Comments

@jonathan-gruber-jg
Copy link

Observed behaviour

Building the game with CMAKE_INSTALL_PREFIX set to "/usr/local" or "/usr" sets the "Exec" key of the desktop entry file (net.pioneerspacesim.Pioneer.desktop) to "bin/pioneer". Attempting to launch the game via this desktop entry file then fails because "bin/pioneer" does not exist.

Expected behaviour

Building the game with CMAKE_INSTALL_PREFIX set to "/usr/local" or "/usr" should set the "Exec" key of the desktop entry file (net.pioneerspacesim.Pioneer.desktop) to a more reasonable value such as "pioneer", which will resolve, via PATH, to either "/usr/local/bin/pioneer" or "/usr/bin/pioneer", (depending on whether the game was installed into "/usr/local" or "/usr"), in which case the game can be successfully launched through the desktop entry file.

Steps to reproduce

Build the game with CMAKE_INSTALL_PREFIX set to "/usr/local" or "/usr" and then read the resulting desktop entry file, net.pioneerspacesim.Pioneer.desktop.

My pioneer version (and OS):

Pioneer version: 20240314, but also observed on master branch of GitHub repository at time of writing.
OS: Arch Linux, but observed behavior should be the same on any Linux distro.

My output.txt

Not applicable.

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

1 participant