update ArmCord to Legcord (got cease and desist'd by ARM)
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
askiiart 2024-10-18 18:00:54 -05:00
parent 61b4f93955
commit f2891648a5
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
3 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@ apt-get install -y dpkg-dev
# 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-.*-linux-amd64.deb" | cut -d : -f 2,3 | tr -d \") -C -
curl -LO $(curl -s https://api.github.com/repos/Legcord/Legcord/releases/latest | grep "browser_download_url.*Legcord-.*-linux-amd64.deb" | cut -d : -f 2,3 | tr -d \") -C -
# Discord
# Has to be manually updated for each version

View file

@ -5,10 +5,10 @@ apt-get install -y curl
apt-get install -y createrepo-c
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/Legcord/Legcord/releases/latest | grep "browser_download_url.*Legcord-.*.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 -
curl $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*vesktop-.*x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
createrepo_c .
createrepo_c .

View file

@ -10,11 +10,11 @@ do_hash() {
if [ "$f" = "Release" ]; then
continue
fi
echo " $(${HASH_CMD} ${f} | cut -d" " -f1) $(wc -c $f)"
echo " $(${HASH_CMD} ${f} | cut -d" " -f1) $(wc -c $f)"
done
}
cat << EOF
cat <<EOF
Origin: askiiart.net
Label: askiiiart's repo
Suite: stable
@ -27,4 +27,4 @@ Date: $(date -Ru)
EOF
do_hash "MD5Sum" "md5sum"
do_hash "SHA1" "sha1sum"
do_hash "SHA256" "sha256sum"
do_hash "SHA256" "sha256sum"