Fix "Desktop file didn't specify Exec field" error on Ubuntu 24.04

Latest Debian/Ubuntu seems to require some extra escaping of backslashes

Fixes #4163
This commit is contained in:
Dan Stillman 2024-06-04 06:50:30 -04:00
parent a6076ce76c
commit 94f061b0ec

View file

@ -1,6 +1,6 @@
[Desktop Entry]
Name=Zotero
Exec=bash -c "$(dirname $(realpath $(echo %k | sed -e 's/^file:\/\///')))/zotero -url %U"
Exec=bash -c "$(dirname $(realpath $(echo %k | sed -e 's/^file:\\/\\///')))/zotero -url %U"
Icon=zotero.ico
Type=Application
Terminal=false