From af7a0d48024004e71cf4685339ee5c32cd165723 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Thu, 6 May 2021 15:13:04 +0200 Subject: [PATCH] Add crude installer --- install.sh | 7 +++++++ tinge.desktop | 5 +++++ 2 files changed, 12 insertions(+) create mode 100755 install.sh create mode 100644 tinge.desktop diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..cc59b9f --- /dev/null +++ b/install.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env/bash +sudo pip3 install -r ./requirements.txt +mkdir -p ~/.local/bin/ ~/.local/share/applications/ +chmod +x ./main.py +cp ./main.py ~/.local/bin/tinge +sed "s/##USER##/${USER}/" tinge.desktop > ~/.local/share/applications/tinge.desktop +sudo cp -r ./tinge /usr/lib/python3.9/site-packages/ diff --git a/tinge.desktop b/tinge.desktop new file mode 100644 index 0000000..66cf63a --- /dev/null +++ b/tinge.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=Tinge +Exec=/home/##USER##/.local/bin/tinge +Icon=face-cool