Kill API after run

This commit is contained in:
XelXen 2022-06-18 00:31:22 +05:30 committed by GitHub
parent f89da029dd
commit 5258a82d75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
.github/tg.py vendored
View File

@ -25,6 +25,7 @@ def bot():
bot.send_document(TG_POST_ID, open('app-armeabi-v7a-debug.apk', 'rb'))
bot.send_document(TG_POST_ID, open('app-x86_64-debug.apk', 'rb'))
bot.send_document(TG_POST_ID, open('app-x86-debug.apk', 'rb'))
run('pid=$(pgrep bot-api) | kill -9 $pid')
if __name__ == '__main__':