diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..7742939 --- /dev/null +++ b/install.sh @@ -0,0 +1,8 @@ +#! /bin/bash + +set -uxeo pipefail + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" + +rm -f ~/manifest.json +ln -s "$DIR/manifest.json" ~/manifest.json diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..aed7440 --- /dev/null +++ b/manifest.json @@ -0,0 +1,12 @@ +{ + "services": { + "camera-app": { + "type": "app_third_party", + "python": false, + "args": [ + "entry.sh" + ], + "display_name": "Kivy Camera App" + } + } +} diff --git a/uninstall.sh b/uninstall.sh new file mode 100755 index 0000000..308ecab --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,8 @@ +#! /bin/bash + +set -uxeo pipefail + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" + +rm -f ~/manifest.json +rm -f ~/.config/systemd/user/*.service