Skip to content

Commit

Permalink
Fixed WF G4
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFlyingToasterman committed Oct 23, 2021
1 parent d4d4da5 commit 39c134b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions get-waterfox
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ if [ "$1" = "install" ] || [ "$1" = "-i" ]; then
echo "[EXTRACTING] Please wait ..."
tar -xf /usr/share/waterfox-data/waterfox.tar.bz2 -C /usr/share/waterfox/
echo "[LINKING] Creating symlinks ..."
if [ "$target" = "current" ]; then
if [ "$target" = "G4" ]; then
ln -s /usr/share/waterfox/waterfox/waterfox /bin/waterfox
fi
if [ "$target" = "classic" ]; then
Expand All @@ -136,7 +136,14 @@ if [ "$1" = "install" ] || [ "$1" = "-i" ]; then
echo "Terminal=false" >> /usr/share/applications/waterfox.desktop
echo "X-MuiltpleArgs=false" >> /usr/share/applications/waterfox.desktop
echo "Type=Application" >> /usr/share/applications/waterfox.desktop
echo "Icon=/usr/share/waterfox/waterfox-classic/browser/chrome/icons/default/default128.png" >> /usr/share/applications/waterfox.desktop
if [ "$target" = "G4" ]; then
ln -s /usr/share/waterfox/waterfox/waterfox /bin/waterfox
echo "Icon=/usr/share/waterfox/waterfox/browser/chrome/icons/default/default128.png" >> /usr/share/applications/waterfox.desktop
fi
if [ "$target" = "classic" ]; then
ln -s /usr/share/waterfox/waterfox-classic/waterfox /bin/waterfox
echo "Icon=/usr/share/waterfox/waterfox-classic/browser/chrome/icons/default/default128.png" >> /usr/share/applications/waterfox.desktop
fi
echo "Categories=Network;WebBrowser;" >> /usr/share/applications/waterfox.desktop
echo "MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/chrome;video/webm;application/x-xpinstall;" >> /usr/share/applications/waterfox.desktop
echo "StartupWMClass=Waterfox" >> /usr/share/applications/waterfox.desktop
Expand Down

0 comments on commit 39c134b

Please sign in to comment.