Update linux-install-firefox-developer-edition

This commit is contained in:
Andros Fenollosa 2021-04-27 10:46:16 +02:00 committed by GitHub
parent ab529d7af3
commit ddf9aefeb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ set -e
## UNINSTALL
# Remove binaries
rm -rf /opt/firefox-developer/ /usr/bin/firefox-developer
sudo rm -rf /opt/firefox-developer/ /usr/bin/firefox-developer
# DOWNLOAD
curl -L -o firefox-developer.tar.bz2 https://download.mozilla.org/\?product\=firefox-devedition-latest-ssl\&os\=linux64\&lang\=en-US
@ -20,7 +20,6 @@ sudo mv firefox-developer /opt
sudo ln -s /opt/firefox-developer/firefox /usr/bin/firefox-developer
# DESKTOP INTEGRATION
# Gnome Shell
echo -e "[Desktop Entry]\nEncoding=UTF-8\nName=Firefox Developer Edition\nComment=Firefox Developer Edition\nExec=/opt/firefox-developer/firefox %u\nTerminal=false\nIcon=/opt/firefox-developer/browser/chrome/icons/default/default128.png\nStartupWMClass=Firefox Developer\nType=Application\nCategories=Network;WebBrowser;\nMimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;x-scheme-handler/http;x-scheme-handler/https;\nStartupNotify=true\n" | sudo tee -a /usr/share/applications/firefox-developer.desktop
# NOTIFY