mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-27 05:08:35 -06:00
Add hardcoded location for telegram-upload
This commit is contained in:
parent
3559a816c7
commit
37ab1262d8
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ echo "Sending messages to telegram" | tee -a build.log
|
||||||
|
|
||||||
# telegram-upload uses personal account, hence bypassing 50 MB max upload limit of bots
|
# telegram-upload uses personal account, hence bypassing 50 MB max upload limit of bots
|
||||||
channel_address=$(cat channel_address | sed -z '$ s/\n$//')
|
channel_address=$(cat channel_address | sed -z '$ s/\n$//')
|
||||||
telegram-upload YouTube_ReVanced_nonroot_$timestamp.apk YouTube_Music_ReVanced_nonroot_$timestamp.apk --to "$channel_address" --caption ""
|
.local/bin/telegram-upload YouTube_ReVanced_nonroot_$timestamp.apk YouTube_Music_ReVanced_nonroot_$timestamp.apk --to "$channel_address" --caption ""
|
||||||
|
|
||||||
# telegram.sh uses bot account, but it supports formatted messages
|
# telegram.sh uses bot account, but it supports formatted messages
|
||||||
msg=$(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/" \
|
msg=$(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/" \
|
||||||
|
|
Loading…
Reference in a new issue