diff --git a/src/main b/src/main index 131aa92..9c4321d 100755 --- a/src/main +++ b/src/main @@ -135,10 +135,16 @@ else fi ## gnome extension appindicator -runVoid dpkg-query --status gnome-shell-extension-appindicator -if [ $? -ne 0 ] ; then - sudo apt install -y gnome-shell-extension-appindicator +UUID=appindicatorsupport@rgcjonas.gmail.com +if [[ ! -d "$HOME/.local/share/gnome-shell/extensions/$UUID" ]]; then + wget -q https://extensions.gnome.org/extension-data/appindicatorsupportrgcjonas.gmail.com.v26.shell-extension.zip -O /tmp/appindicator.zip + mkdir -p "$HOME/.local/share/gnome-shell/extensions/$UUID" + unzip -q /tmp/appindicator.zip -d "$HOME/.local/share/gnome-shell/extensions/$UUID" + gnome-shell-extension-tool -e "$UUID" + gnome-shell-extension-tool -r "$UUID" LOGOUT_REQUIRED=true +else + echo "gnome-shell-extension-appindicator installed!" fi if [[ $LOGOUT_REQUIRED == true ]];then