mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-27 05:08:35 -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
|
fi
|
||||||
|
|
||||||
# Send telegram message about the new build
|
# Send telegram message about the new build
|
||||||
../telegram.sh -f ReVanced-nonroot-$timestamp.apk
|
telegram-upload ReVanced-nonroot-$timestamp.apk ReVanced-Music-nonroot-$timestamp.apk --to "placeholder_for_channel_address" --caption ""
|
||||||
../telegram.sh -f ReVanced-Music-nonroot-$timestamp.apk
|
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/" | ../telegram.sh -
|
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
|
# Do some cleanup
|
||||||
mkdir -p archive
|
mkdir -p archive
|
||||||
|
|
Loading…
Reference in a new issue