mirror of
https://github.com/flameshot-org/flameshot.git
synced 2026-12-04 06:54:50 +00:00
98f8d33771
USE_LAUNCHER_ABSOLUTE_PATH exists because the flameshot binary is not always on PATH, and src/CMakeLists.txt substitutes @LAUNCHER_EXECUTABLE@ into the desktop entry so the main Exec points at the installed binary. The three Desktop Action entries were left calling a bare "flameshot": after an install into a prefix that is not on PATH, launching Flameshot from the application menu works but its Configure, Take screenshot and Open launcher actions do nothing. Substitute the same value into the action Exec lines. With the option off, as the AppImage build sets it, @LAUNCHER_EXECUTABLE@ expands to "flameshot" and the generated file is unchanged.