]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/com.stoutner.privacybrowser.desktop
Enable downloading of files that require login cookies. https://redmine.stoutner...
[PrivacyBrowserPC.git] / src / com.stoutner.privacybrowser.desktop
index a0e17f9f1b5735de6b2eb951bd7eabc0190c28f2..dc54c91c8912c0cbb012e1034f05b2d3a2f94993 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
+# Copyright 2022 Soren Stoutner <soren@stoutner.com>.
 #
 # This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
 #
@@ -32,13 +32,14 @@ Categories=Network;WebBrowser;
 # Set the icon.
 Icon=privacy-browser.svg
 
-# Set the executable.
-Exec=privacy-browser
+# Set the executable with the optional URL argument.
+Exec=privacy-browser %u
 
-# TODO.  Check if this is needed.
+# Specify the WM class, which groups windows of the same application together.
 StartupWMClass=privacy-browser
 
 # TODO.  Set the document path.
 X-DocPath=privacybrowser/index.html
 
-# TODO.  Add MIME types.
+# Enumerate the supported MIME types.
+MimeType=text/html;text/xml;application/xhtml+xml;application/xml;x-scheme-handler/http;x-scheme-handler/https;