Skip to content

Commit

Permalink
add install, uninstall and manifest files
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarriba committed Nov 30, 2023
1 parent 9c2da31 commit 241e514
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
8 changes: 8 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"services": {
"camera-app": {
"type": "app_third_party",
"python": false,
"args": [
"entry.sh"
],
"display_name": "Kivy Camera App"
}
}
}
8 changes: 8 additions & 0 deletions uninstall.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 241e514

Please sign in to comment.