Update Discord, add schildichat-desktop

This commit is contained in:
askiiart 2024-03-18 18:57:26 -05:00
parent 6ee98b9a61
commit 448f8acb08
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
2 changed files with 10 additions and 12 deletions

View file

@ -12,26 +12,23 @@ apt-get install -y dpkg-dev
# curl -L https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb -o /repo/steam.deb
#fi
# Update ArmCord
# ArmCord
cd /repo/dists/bookworm/stable/binary-amd64/
curl -LO $(curl -s https://api.github.com/repos/ArmCord/ArmCord/releases/latest | grep "browser_download_url.*ArmCord_.*_amd64.deb" | cut -d : -f 2,3 | tr -d \") -C -
cd /drone/src
# Update Discord
# Discord
# Has to be manually updated for each version
cd /repo/dists/bookworm/stable/binary-amd64/
curl -LO https://dl.discordapp.net/apps/linux/0.0.41/discord-0.0.41.deb -C -
cd /drone/src
discord_version="0.0.46"
curl -LO https://dl.discordapp.net/apps/linux/$discord_version/discord-$discord_version.deb -C -
# Update th-ch/youtube-music
cd /repo/dists/bookworm/stable/binary-amd64/
# th-ch/youtube-music
curl -LO $(curl -s https://api.github.com/repos/th-ch/youtube-music/releases/latest | grep "browser_download_url.*youtube-music_.*_amd64.deb" | cut -d : -f 2,3 | tr -d \") -C -
cd /drone/src
# Update Vencord Desktop
cd /repo/dists/bookworm/stable/binary-amd64/
# Vencord Desktop/Vesktop
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*vesktop_.*_amd64.deb" | cut -d : -f 2,3 | tr -d \") -C -
cd /drone/src
# schildichat-desktop
curl $(curl -s https://api.github.com/repos/SchildiChat/schildichat-desktop/releases/latest | grep "browser_download_url.*schildichat-desktop_.*_amd64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
# Do repo stuff
cd /repo

View file

@ -8,5 +8,6 @@ cd /repo
curl $(curl -s https://api.github.com/repos/ArmCord/ArmCord/releases/latest | grep "browser_download_url.*ArmCord-.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
curl $(curl -s https://api.github.com/repos/TheAssassin/AppImageLauncher/releases/latest | grep "browser_download_url.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
curl $(curl -s https://api.github.com/repos/th-ch/youtube-music/releases/latest | grep "browser_download_url.*youtube-music.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
curl $(curl -s https://api.github.com/repos/SchildiChat/schildichat-desktop/releases/latest | grep "browser_download_url.*schildichat-desktop-.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
createrepo_c .