yuzu icon indicating copy to clipboard operation
yuzu copied to clipboard

Game-shortcuts for the AppImage-version of yuzu do not work

Open MoonlightWave-12 opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Affected Build(s)

Mainline 1729 / Mainline 1670 / Mainline 1273

Description of Issue

Game-shortcuts (for desktop and app-menu) made by the AppImage-version of yuzu do not work anymore, after Yuzu has been closed once after creating the shortcuts.

The cause of this is that the Exec=- and TryExec=-paths in the .desktop-files created by the AppImage-version of Yuzu contain a temporary path like /tmp/.mount_Yuzu.1234567/usr/./bin/yuzu, instead of the path to the AppImage.

Expected Behavior

Starting games from a game-shortcut made by the AppImage-version of yuzu works correctly.

The Exec=- and TryExec=-paths in the .desktop-files created by the AppImage-version of Yuzu should contain the path to the AppImage-file which was used to start Yuzu.

Reproduction Steps

  1. Create a shortcut for a game with the AppImage-version of Yuzu. Do not close Yuzu yet.
  2. The shortcut will appear in the app-menu (or on the desktop), starting it will launch the game.
  3. Close Yuzu.
  4. The game-shortcut in the app-menu (or on the desktop) will be hidden (or will not work), because the temporary path to Yuzu does not exist anymore.

Log File

yuzu_log.txt

System Configuration

OS: "Debian GNU/Linux 12 (bookworm)" and "Debian GNU/Linux Testing (Trixie)" Desktop-environment: GNOME

MoonlightWave-12 avatar Jan 03 '24 15:01 MoonlightWave-12