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

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

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

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

Loading…
Cancel
Save