mirror of
https://github.com/zotero/zotero.git
synced 2026-09-29 01:41:24 +00:00
After further consideration, doing this in-app makes more sense. This
way, we'd never be able to update the desktop file automatically (e.g.,
to add a new MimeType), and removing the template zotero.desktop file
would break all existing installs using our symlink instructions.
In-app, we can update the existing desktop file on restart after an
upgrade, and we can remove the existing symlink.
This reverts commit 0ac57f8262.
9 lines
532 B
Desktop File
Executable file
9 lines
532 B
Desktop File
Executable file
[Desktop Entry]
|
|
Name=Zotero
|
|
Exec=bash -c "$(dirname $(realpath $(echo %k | sed -e 's/^file:\\/\\///')))/zotero -url %U"
|
|
Icon=zotero.ico
|
|
Type=Application
|
|
Terminal=false
|
|
Categories=Office;
|
|
MimeType=text/plain;x-scheme-handler/zotero;application/x-research-info-systems;text/x-research-info-systems;text/ris;application/x-endnote-refer;application/x-inst-for-Scientific-info;application/mods+xml;application/rdf+xml;application/x-bibtex;text/x-bibtex;application/marc;application/vnd.citationstyles.style+xml
|
|
X-GNOME-SingleWindow=true
|