From 448f8acb0828faa6921b5193de62dbd2c562db3f Mon Sep 17 00:00:00 2001 From: askiiart Date: Mon, 18 Mar 2024 18:57:26 -0500 Subject: [PATCH] Update Discord, add schildichat-desktop --- debian-bookworm-x64.sh | 21 +++++++++------------ fedora.sh | 1 + 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/debian-bookworm-x64.sh b/debian-bookworm-x64.sh index d5415e2..37b8488 100755 --- a/debian-bookworm-x64.sh +++ b/debian-bookworm-x64.sh @@ -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 diff --git a/fedora.sh b/fedora.sh index 1cadad3..3abcc86 100755 --- a/fedora.sh +++ b/fedora.sh @@ -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 . \ No newline at end of file