Discord app update to spacingbat's webcord to close #541

pull/555/head
Botspot 4 years ago
parent d40b5a7a72
commit 17ef978c17

@ -1,6 +1,5 @@
Nativefier version of Discord for ARM
To run: Menu -> Internet -> Discord.
To run in a terminal: /usr/share/discord-linux-armv7l/discord
You could also run it from the desktop shortcut.
Fast Discord client for ARM that mimics the official Discord client.
To run: Menu -> Internet -> WebCord.
To run in a terminal: webcord
The app runs independent to chromium and can be hidden to the system tray unlike other solutions out there.
Made by SpacingBat3 on Github with care :)

@ -7,21 +7,17 @@ function error {
exit 1
}
function download() {
curl -s https://api.github.com/repos/SpacingBat3/electron-discord-webapp/releases/latest \
| grep "browser_download_url.*armhf.deb" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
}
version='1.3.0'
#remove electron-discord-webapp if it still exists
if command -v electron-discord-webapp >/dev/null ;then
sudo apt purge electron-discord-webapp || error "failed to first uninstall electron-discord-webapp!"
fi
echo "Downloading Webcord..."
gio trash ~/discord-electron 2> /dev/null
rm -f ~/.local/share/applications/discord.desktop 2> /dev/null
rm -f ~/webcord_${version}_armhf.deb
wget https://github.com/SpacingBat3/electron-discord-webapp/releases/download/v${version}/webcord_${version}_armhf.deb
sudo apt -fy install ~/webcord_${version}_armhf.deb || error "Failed to install webcord deb!"
echo "downloading discord-electron..."
cd $HOME
#download || error "Failed to download latest release!"
wget https://github.com/SpacingBat3/electron-discord-webapp/releases/download/v1.2.1/electron-discord-webapp_1.2.1_armhf.deb
sudo dpkg -i electron-discord-webapp*armhf.deb || error "Failed to install discord-electron!"
sudo apt -fy install
rm -f electron-discord-webapp*armhf.deb
rm -f ~/webcord_${version}_armhf.deb

@ -7,21 +7,17 @@ function error {
exit 1
}
function download() {
curl -s https://api.github.com/repos/SpacingBat3/electron-discord-webapp/releases/latest \
| grep "browser_download_url.*arm64.deb" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
}
version='1.3.0'
#remove electron-discord-webapp if it still exists
if command -v electron-discord-webapp >/dev/null ;then
sudo apt purge electron-discord-webapp || error "failed to first uninstall electron-discord-webapp!"
fi
echo "Downloading Webcord..."
gio trash ~/discord-electron 2> /dev/null
rm -f ~/.local/share/applications/discord.desktop 2> /dev/null
rm -f ~/webcord_${version}_arm64.deb
wget https://github.com/SpacingBat3/electron-discord-webapp/releases/download/v${version}/webcord_${version}_arm64.deb
sudo apt -fy install ~/webcord_${version}_arm64.deb || error "Failed to install webcord deb!"
echo "downloading discord-electron..."
cd $HOME
#download || error "Failed to download latest release!"
wget https://github.com/SpacingBat3/electron-discord-webapp/releases/download/v1.2.1/electron-discord-webapp_1.2.1_arm64.deb
sudo dpkg -i electron-discord-webapp*arm64.deb || error "Failed to install discord-electron!"
sudo apt -f install
rm -f electron-discord-webapp*arm64.deb
rm -f ~/webcord_${version}_arm64.deb

@ -6,4 +6,4 @@ function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
sudo apt purge -y electron-discord-webapp
sudo apt purge -y webcord

Loading…
Cancel
Save