|
|
|
@ -13,10 +13,10 @@ 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!'
|
|
|
|
|
wget https://github.com/SpacingBat3/electron-discord-webapp/releases/download/v0.1.4/electron-discord-webapp-0.1.4-arm64.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
|
|
|
|
|
tar -xf electron-discord-webapp-0.1.4-arm64.tar.gz --strip 1 || error 'Failed to extract archive!'
|
|
|
|
|
rm -f electron-discord-webapp-0.1.4-arm64.tar.gz
|
|
|
|
|
|
|
|
|
|
cd $HOME
|
|
|
|
|
|
|
|
|
@ -27,7 +27,7 @@ Terminal=false
|
|
|
|
|
Type=Application
|
|
|
|
|
Name=Discord
|
|
|
|
|
Path=$HOME/discord-electron
|
|
|
|
|
Exec=$HOME/discord-electron/discord
|
|
|
|
|
Exec=$HOME/discord-electron/electron-discord-webapp
|
|
|
|
|
Icon=/home/pi/pi-apps/apps/Discord/icon-64.png
|
|
|
|
|
Categories=Network;Chat;VideoConference;WebApp;Internet
|
|
|
|
|
Comment=Your place to talk!
|
|
|
|
|