[tbb-commits] [Git][tpo/applications/tor-browser-build][main] MB 314: Update desktop file

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Mon Jul 8 09:52:37 UTC 2024



Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build


Commits:
75a548af by Nicolas Vigier at 2024-06-27T15:22:18+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/75a548af5dc692f04eb52a0a8df85b0d325f4acb

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/75a548af5dc692f04eb52a0a8df85b0d325f4acb
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/tbb-commits/attachments/20240708/e698bdd2/attachment-0001.htm>


More information about the tbb-commits mailing list