commit ffda89b7de0c62a5473b4be09cf212d93f92d76c Author: Kurtis Andrews Date: Wed Jan 6 19:37:09 2021 +1000 Initial commit installer and updater diff --git a/DesktopFiles/Update.desktop b/DesktopFiles/Update.desktop new file mode 100644 index 0000000..08b956a --- /dev/null +++ b/DesktopFiles/Update.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Update Web Apps +Comment=Get the latest Web Apps +Exec=/home/pi/webapps/update.sh +Icon=/home/pi/webapps/icons/update.png +Path=/home/pi/webapps +Categories=Preferences; +Terminal=true +StartupNotify=false \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..ab22727 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# Web Apps for Raspberry Pi + +Grabbed from [here](https://github.com/phoenixbyrd/webapps/) +Modified for my own use and whatnot. + +# To Install + +- curls https://carrot.tcmeta.net/gitea/kurtis/raspberry-pi-web-apps/master/install.sh | bash + + +# To Update + +- just run the update shortcut in the Preferences Menu \ No newline at end of file diff --git a/icons/update.png b/icons/update.png new file mode 100644 index 0000000..0415d47 Binary files /dev/null and b/icons/update.png differ diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..cd02d37 --- /dev/null +++ b/install.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +#Clone the repo to the webapps folder +git clone https://carrot.tcmeta.net/gitea/kurtis/raspberry-pi-web-apps /home/pi/webapps + +#Add new apps to menu +cp /home/pi/webapps/DesktopFiles/* /home/pi/.local/share/applications/ + + +#Install/Update finished +clear + +echo "" +echo "" + +echo "Web Apps installed to /home/pi/webapps" +echo "" +echo "You can update this by going to Update Webapps in PREFERENCES" +echo "" +echo "" +echo "" \ No newline at end of file diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..b847d91 --- /dev/null +++ b/update.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +#Clone the repo to the webapps folder +git pull + +#Add new apps to menu +cp /home/pi/webapps/DesktopFiles/* /home/pi/.local/share/applications/ + + +#Install/Update finished +clear + +echo "" +echo "" + +echo "Web Apps installed to /home/pi/webapps" +echo "" +echo "You can update this by going to Update Webapps in PREFERENCES" +echo "" +echo "" +echo "" \ No newline at end of file