[tor-commits] [Git][tpo/applications/tor-browser-build][maint-13.5] MB 314: Update desktop file
Pier Angelo Vendrame (@pierov)
git at gitlab.torproject.org
Mon Jul 8 09:54:14 UTC 2024
Pier Angelo Vendrame pushed to branch maint-13.5 at The Tor Project / Applications / tor-browser-build
Commits:
3879df70 by Nicolas Vigier at 2024-07-08T11:54:02+02:00
MB 314: Update desktop file
Following @ruihildt's suggestions we update the desktop file:
- Added MimeType field (to have the browser listed as a possible default
browser application)
- Removed `X-MullvadBrowser-ExecShell` which is not used
- Removed the "Security" category
- Added the Version (of the desktop entry specification we use)
- Added Terminal
- - - - -
1 changed file:
- projects/linux-packages/browser.desktop.in
Changes:
=====================================
projects/linux-packages/browser.desktop.in
=====================================
@@ -1,10 +1,14 @@
[Desktop Entry]
+Version=1.0
Type=Application
Name=[% c("var/Project_Name") %]
GenericName=Web Browser
Comment=[% c("var/system_pkg/pkg_description") %]
-Categories=Network;WebBrowser;Security;
+Categories=Network;WebBrowser;
Exec=/[% c("var/system_pkg/install_path") %]/start-[% c("var/project-name") %] --detach
-X-[% c("var/ProjectName") %]-ExecShell=/[% c("var/system_pkg/install_path") %]/start-[% c("var/project-name") %] --detach
Icon=[% c("var/system_pkg/pkg_name") %]
StartupWMClass=[% c("var/display_name") %]
+[% IF ! c("var/tor-browser") -%]
+MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;
+[% END -%]
+Terminal=false
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/3879df7090ac19d0d5186fe43df3d9f07658944b
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/3879df7090ac19d0d5186fe43df3d9f07658944b
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240708/beeba1dc/attachment.htm>
More information about the tor-commits
mailing list