fix
This commit is contained in:
parent
787db9b632
commit
22695d5da0
26
debian.sh
26
debian.sh
@ -423,7 +423,31 @@ installBrowser() {
|
|||||||
#apt update
|
#apt update
|
||||||
#apt install brave-browser -y
|
#apt install brave-browser -y
|
||||||
|
|
||||||
apt install -y firefox-esr
|
#apt install -y firefox-esr
|
||||||
|
|
||||||
|
#Firefox-Latest
|
||||||
|
cd /tmp
|
||||||
|
rm -rf /opt/firefox
|
||||||
|
apt remove firefox-esr -y
|
||||||
|
wget -O /tmp/firefox.tar.gz "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US"
|
||||||
|
tar xvf /tmp/firefox.tar.gz -C /opt/
|
||||||
|
unlink /usr/bin/firefox
|
||||||
|
ln -s /opt/firefox/firefox /usr/bin/firefox
|
||||||
|
#Desktop/App Icon
|
||||||
|
echo "[Desktop Entry]" >/usr/share/applications/firefox.desktop
|
||||||
|
echo "Name=Firefox Stable" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "Comment=Web Browser" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "Exec=/opt/firefox/firefox %u" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "Terminal=false" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "Type=Application" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "Icon=/opt/firefox/browser/chrome/icons/default/default128.png" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "Categories=Network;WebBrowser;" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "StartupNotify=true" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "Actions=Private;" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "[Desktop Action Private]" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "Exec=/opt/firefox/firefox --private-window %u" >>/usr/share/applications/firefox.desktop
|
||||||
|
echo "Name=Open in private mode" >>/usr/share/applications/firefox.desktop
|
||||||
|
|
||||||
#Vivaldi
|
#Vivaldi
|
||||||
#curl -fsSL https://repo.vivaldi.com/archive/linux_signing_key.pub | gpg --dearmor | tee /usr/share/keyrings/vivaldi.gpg >/dev/null
|
#curl -fsSL https://repo.vivaldi.com/archive/linux_signing_key.pub | gpg --dearmor | tee /usr/share/keyrings/vivaldi.gpg >/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user