Change location of telegram.sh

This commit is contained in:
Sayantan Santra 2022-10-11 20:28:51 -05:00
parent efd9b748a7
commit 62da941cbe

View file

@ -168,7 +168,7 @@ echo "Sending messages to telegram" | tee -a build.log
/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
cat message.tmp | ../telegram.sh - cat message.tmp | ./telegram.sh -
rm message.tmp rm message.tmp
# Do some cleanup # Do some cleanup