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/38...
tor-commits@lists.torproject.org