Initial commit installer and updater
This commit is contained in:
11
DesktopFiles/Update.desktop
Normal file
11
DesktopFiles/Update.desktop
Normal 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
13
README.md
Normal 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
BIN
icons/update.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
21
install.sh
Normal file
21
install.sh
Normal 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
21
update.sh
Normal 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 ""
|
||||||
Reference in New Issue
Block a user