diff --git a/install.sh b/install.sh deleted file mode 100755 index 3afb696..0000000 --- a/install.sh +++ /dev/null @@ -1,32 +0,0 @@ -NAME="TeaTime@oleid.mescharet.de" - -if [ "$1" != "global" ] ; then - INST_DIR="$HOME/.local/share/gnome-shell/extensions/$NAME" - SUDO="" - - echo "Installing extension locally..." -else - INST_DIR="/usr/share/gnome-shell/extensions/$NAME" - SUDO="sudo" - - echo "Installing extension globally..." - - echo "Installing icon" - $SUDO cp utilities-teatime.svg /usr/share/icons/hicolor/scalable/apps/ - $SUDO gtk-update-icon-cache /usr/share/icons/hicolor/ -fi - - -echo "Installing extension" -$SUDO mkdir -p "$INST_DIR" - -$SUDO cp *.js *.json "$INST_DIR" - -if [ "$1" != "global" ]; then - $SUDO cp -ax *.svg schemas "$INST_DIR" - glib-compile-schemas "$INST_DIR"/schemas -else - echo "Installing schema" - $SUDO cp schemas/*.xml /usr/share/glib-2.0/schemas/ && \ - $SUDO glib-compile-schemas /usr/share/glib-2.0/schemas/ 2> /dev/null -fi diff --git a/pack.sh b/pack.sh deleted file mode 100644 index d3e6044..0000000 --- a/pack.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -# -# pack for upload to extensions.gnome.org - -today=$(date +"%Y%m%d") - -zip TeaTime@oleid.mescharet.de-$today.zip *.md utils.js prefs.js extension.js install.sh *.svg metadata.json schemas/org.gnome.shell.extensions.teatime.gschema.xml schemas/gschemas.compiled diff --git a/extension.js b/src/extension.js similarity index 100% rename from extension.js rename to src/extension.js diff --git a/metadata.json b/src/metadata.json similarity index 100% rename from metadata.json rename to src/metadata.json diff --git a/prefs.js b/src/prefs.js similarity index 100% rename from prefs.js rename to src/prefs.js diff --git a/schemas/org.gnome.shell.extensions.teatime.gschema.xml b/src/schemas/org.gnome.shell.extensions.teatime.gschema.xml similarity index 100% rename from schemas/org.gnome.shell.extensions.teatime.gschema.xml rename to src/schemas/org.gnome.shell.extensions.teatime.gschema.xml diff --git a/utilities-teatime.svg b/src/utilities-teatime.svg similarity index 100% rename from utilities-teatime.svg rename to src/utilities-teatime.svg diff --git a/utils.js b/src/utils.js similarity index 100% rename from utils.js rename to src/utils.js