mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-25 20:28:37 -06:00
Fixed telegram upload
This commit is contained in:
parent
6330db7192
commit
f4661f3961
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue