From f4661f3961b377a1519cfcac27d4952abdb19f8c Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Tue, 11 Oct 2022 19:28:20 -0500 Subject: [PATCH] Fixed telegram upload --- build_revanced.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build_revanced.sh b/build_revanced.sh index 60587ed..0154589 100755 --- a/build_revanced.sh +++ b/build_revanced.sh @@ -149,9 +149,11 @@ else fi # Send telegram message about the new build -../telegram.sh -f ReVanced-nonroot-$timestamp.apk -../telegram.sh -f ReVanced-Music-nonroot-$timestamp.apk -cat versions.json | tail -n+2 | head -n-1 | cut -c3- | sed "s/\"//g" | sed "s/,//g" | sed "s/com.google.android.apps.youtube.music/YouTube Music/" | sed "s/com.google.android.youtube/YouTube/" | ../telegram.sh - +telegram-upload ReVanced-nonroot-$timestamp.apk ReVanced-Music-nonroot-$timestamp.apk --to "placeholder_for_channel_address" --caption "" +echo "Build details:" > message.tmp +cat versions.json | tail -n+2 | head -n-1 | cut -c3- | sed "s/\"//g" | sed "s/,//g" | sed "s/com.google.android.apps.youtube.music/YouTube Music/" | sed "s/com.google.android.youtube/YouTube/" | sed "s/vanced-microG/Vanced microG/">> message.tmp +cat message.tmp | ../telegram.sh - +rm message.tmp # Do some cleanup mkdir -p archive