mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-26 12:48:36 -06:00
Improved comments
This commit is contained in:
parent
45ee7f3695
commit
fba95e03ef
1 changed files with 4 additions and 0 deletions
|
@ -165,9 +165,13 @@ mv revanced-music.apk ReVanced-Music-nonroot-$timestamp.apk
|
||||||
|
|
||||||
# Send telegram message about the new build
|
# Send telegram message about the new build
|
||||||
echo "Sending messages to telegram" | tee -a build.log
|
echo "Sending messages to telegram" | tee -a build.log
|
||||||
|
|
||||||
|
# telegram-upload uses personal account, hence bypassing 50 MB max upload limit of bots
|
||||||
/home/sintan/.local/bin/telegram-upload ReVanced-nonroot-$timestamp.apk ReVanced-Music-nonroot-$timestamp.apk --to "placeholder_for_channel_address" --caption ""
|
/home/sintan/.local/bin/telegram-upload ReVanced-nonroot-$timestamp.apk ReVanced-Music-nonroot-$timestamp.apk --to "placeholder_for_channel_address" --caption ""
|
||||||
echo "<----------Build details---------->" > message.tmp
|
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 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
|
||||||
|
|
||||||
|
# telegram.sh uses bot account, but it supports formatted messages
|
||||||
cat message.tmp | ./telegram.sh -
|
cat message.tmp | ./telegram.sh -
|
||||||
rm message.tmp
|
rm message.tmp
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue