Initial commit installer and updater

This commit is contained in:
2021-01-06 19:37:09 +10:00
commit ffda89b7de
5 changed files with 66 additions and 0 deletions

View File

@@ -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

13
README.md Normal file
View File

@@ -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

BIN
icons/update.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

21
install.sh Normal file
View File

@@ -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 ""

21
update.sh Normal file
View File

@@ -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 ""