diff --git a/apps/Boxy SVG/install b/apps/Boxy SVG/install deleted file mode 100755 index f82e847..0000000 --- a/apps/Boxy SVG/install +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" - -function error { - echo -e "\\e[91m$1\\e[39m" - exit 1 -} - -arch='' - -while [ "$arch" != 'armhf' ] && [ "$arch" != 'arm64' ] -do - echo -n "Which version of Boxy SVG do you want? [armhf/arm64] " - arch='' - read arch - if [ "$arch" != 'armhf' ] && [ "$arch" != 'arm64' ];then - echo -e "\\e[91mDid not understand '$arch'. Try again.\\e[39m" - fi -done - -git clone https://github.com/Botspot/Boxy-SVG-RPi || error 'Failed to clone repository!' - -if [ "$arch" == 'armhf' ];then - tar -xf ~/Boxy-SVG-RPi/BoxySVG-linux-armv7l.tar.xz || error 'Failed to extract!' - cp ~/Boxy-SVG-RPi/boxy-svg-armv7l.desktop ~/.local/share/applications -elif [ "$arch" == 'arm64' ];then - tar -xf ~/Boxy-SVG-RPi/BoxySVG-linux-arm64.tar.xz || error 'Failed to extract!' - cp ~/Boxy-SVG-RPi/boxy-svg-arm64.desktop ~/.local/share/applications -fi - diff --git a/apps/Boxy SVG/install-32 b/apps/Boxy SVG/install-32 new file mode 100755 index 0000000..ecf38b6 --- /dev/null +++ b/apps/Boxy SVG/install-32 @@ -0,0 +1,13 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +git clone https://github.com/Botspot/Boxy-SVG-RPi || error 'Failed to clone repository!' + +tar -xf ~/Boxy-SVG-RPi/BoxySVG-linux-armv7l.tar.xz || error 'Failed to extract!' +cp ~/Boxy-SVG-RPi/boxy-svg-armv7l.desktop ~/.local/share/applications diff --git a/apps/Boxy SVG/install-64 b/apps/Boxy SVG/install-64 new file mode 100755 index 0000000..0123951 --- /dev/null +++ b/apps/Boxy SVG/install-64 @@ -0,0 +1,13 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +git clone https://github.com/Botspot/Boxy-SVG-RPi || error 'Failed to clone repository!' + +tar -xf ~/Boxy-SVG-RPi/BoxySVG-linux-arm64.tar.xz || error 'Failed to extract!' +cp ~/Boxy-SVG-RPi/boxy-svg-arm64.desktop ~/.local/share/applications diff --git a/apps/Discord/install b/apps/Discord/install deleted file mode 100755 index daa135d..0000000 --- a/apps/Discord/install +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/bash - -DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" - -function error { - echo -e "\\e[91m$1\\e[39m" - exit 1 -} - -arch='' -while [ "$arch" != 'armhf' ] && [ "$arch" != 'arm64' ] -do - echo -n "Which type of Discord do you want? [armhf/arm64] " - arch='' - read arch - if [ "$arch" != 'armhf' ] && [ "$arch" != 'arm64' ];then - echo -e "\\e[91mDid not understand '$arch'. Try again.\\e[39m" - fi -done - -#maker and enter discord-electron folder -gio trash ~/discord-electron -mkdir ~/discord-electron -cd ~/discord-electron || error "Failed to enter discord-electron folder!" - -if [ "$arch" == 'armhf' ];then - #Download from github - wget https://github.com/SpacingBat3/electron-discord-webapp/releases/download/v0.1.1/linux-armv7l.tar.gz || error 'Failed to download archive!' - - tar -xf linux-armv7l.tar.gz --strip 1 || error 'Failed to extract archive!' - rm -f linux-armv7l.tar.gz -elif [ "$arch" == 'arm64' ];then - #Download from github - wget https://github.com/SpacingBat3/electron-discord-webapp/releases/download/v0.1.1/linux-aarch64.tar.gz || error 'Failed to download archive!' - - tar -xf linux-aarch64.tar.gz --strip 1 || error 'Failed to extract archive!' - rm -f linux-aarch64.tar.gz -fi - -cd $HOME - -#Create desktop shortcut -echo "[Desktop Entry] -StartupNotify=true -Terminal=false -Type=Application -Name=Discord -Path=$HOME/discord-electron -Exec=$HOME/discord-electron/discord -Icon=/home/pi/pi-apps/apps/Discord/icon-64.png -Categories=Network;Chat;VideoConference;WebApp;Internet -Comment=Your place to talk! -GenericName=Network Messenger" > ~/.local/share/applications/discord.desktop - diff --git a/apps/Discord/install-32 b/apps/Discord/install-32 new file mode 100755 index 0000000..b4334ba --- /dev/null +++ b/apps/Discord/install-32 @@ -0,0 +1,35 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +#make and enter discord-electron folder +gio trash ~/discord-electron +mkdir ~/discord-electron +cd ~/discord-electron || error "Failed to enter discord-electron folder!" + +#Download from github +wget https://github.com/SpacingBat3/electron-discord-webapp/releases/download/v0.1.1/linux-armv7l.tar.gz || error 'Failed to download archive!' + +tar -xf linux-armv7l.tar.gz --strip 1 || error 'Failed to extract archive!' +rm -f linux-armv7l.tar.gz + +cd $HOME + +#Create desktop shortcut +echo "[Desktop Entry] +StartupNotify=true +Terminal=false +Type=Application +Name=Discord +Path=$HOME/discord-electron +Exec=$HOME/discord-electron/discord +Icon=/home/pi/pi-apps/apps/Discord/icon-64.png +Categories=Network;Chat;VideoConference;WebApp;Internet +Comment=Your place to talk! +GenericName=Network Messenger" > ~/.local/share/applications/discord.desktop + diff --git a/apps/Discord/install-64 b/apps/Discord/install-64 new file mode 100755 index 0000000..5ef0692 --- /dev/null +++ b/apps/Discord/install-64 @@ -0,0 +1,35 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +#make and enter discord-electron folder +gio trash ~/discord-electron +mkdir ~/discord-electron +cd ~/discord-electron || error "Failed to enter discord-electron folder!" + +#Download from github +wget https://github.com/SpacingBat3/electron-discord-webapp/releases/download/v0.1.1/linux-aarch64.tar.gz || error 'Failed to download archive!' + +tar -xf linux-aarch64.tar.gz --strip 1 || error 'Failed to extract archive!' +rm -f linux-aarch64.tar.gz + +cd $HOME + +#Create desktop shortcut +echo "[Desktop Entry] +StartupNotify=true +Terminal=false +Type=Application +Name=Discord +Path=$HOME/discord-electron +Exec=$HOME/discord-electron/discord +Icon=/home/pi/pi-apps/apps/Discord/icon-64.png +Categories=Network;Chat;VideoConference;WebApp;Internet +Comment=Your place to talk! +GenericName=Network Messenger" > ~/.local/share/applications/discord.desktop + diff --git a/apps/Visual Studio Code/install b/apps/Visual Studio Code/install deleted file mode 100755 index b46f19e..0000000 --- a/apps/Visual Studio Code/install +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" - -function error { - echo -e "\\e[91m$1\\e[39m" - exit 1 -} - -cd ~/Downloads - -arch='' - -while [ "$arch" != 'armhf' ] && [ "$arch" != 'arm64' ] -do - echo -n "Which type of Visual Studio Code do you want? [armhf/arm64] " - arch='' - read arch - if [ "$arch" != 'armhf' ] && [ "$arch" != 'arm64' ];then - echo -e "\\e[91mDid not understand '$arch'. Try again.\\e[39m" - fi -done - -if [ "$arch" == 'armhf' ];then - wget https://aka.ms/linux-armhf-deb || error 'Failed to download linux-armhf-deb!' - sudo dpkg -i linux-armhf-deb || error 'Failed to install linux-armhf-deb!' - rm -f linux-armhf-deb - cd -elif [ "$arch" == 'arm64' ];then - wget https://aka.ms/linux-arm64-deb || error 'Failed to download linux-arm64-deb!' - sudo dpkg -i linux-arm64-deb || error 'Failed to install linux-arm64-deb!' - rm -f linux-arm64-deb - cd -fi - diff --git a/apps/Visual Studio Code/install-32 b/apps/Visual Studio Code/install-32 new file mode 100755 index 0000000..680faf6 --- /dev/null +++ b/apps/Visual Studio Code/install-32 @@ -0,0 +1,15 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +cd ~/Downloads + +wget https://aka.ms/linux-armhf-deb || error 'Failed to download linux-armhf-deb!' +sudo dpkg -i linux-armhf-deb || error 'Failed to install linux-armhf-deb!' +rm -f linux-armhf-deb +cd diff --git a/apps/Visual Studio Code/install-64 b/apps/Visual Studio Code/install-64 new file mode 100755 index 0000000..8b0276f --- /dev/null +++ b/apps/Visual Studio Code/install-64 @@ -0,0 +1,15 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +cd ~/Downloads + +wget https://aka.ms/linux-arm64-deb || error 'Failed to download linux-arm64-deb!' +sudo dpkg -i linux-arm64-deb || error 'Failed to install linux-arm64-deb!' +rm -f linux-arm64-deb +cd