2022-09-17 23:37:44 +05:30
|
|
|
import os
|
2022-09-17 23:28:46 +05:30
|
|
|
|
|
|
|
while True:
|
2022-09-17 23:37:44 +05:30
|
|
|
os.system("curl https://raw.githubusercontent.com/LibreTubeAlpha/Archive/main/latestBuild/app-x86-debug.apk --output app-x86-debug.apk")
|
|
|
|
outputStr = open("app-x86-debug.apk","r").read()
|
2022-09-17 23:28:46 +05:30
|
|
|
if "Not Found" not in outputStr:
|
|
|
|
print("Build [x86] Downloaded")
|
|
|
|
break
|
|
|
|
|
|
|
|
while True:
|
2022-09-17 23:37:44 +05:30
|
|
|
os.system("curl https://raw.githubusercontent.com/LibreTubeAlpha/Archive/main/latestBuild/app-x86_64-debug.apk --output app-x86_64-debug.apk")
|
|
|
|
outputStr = open("app-x86_64-debug.apk","r").read()
|
2022-09-17 23:28:46 +05:30
|
|
|
if "Not Found" not in outputStr:
|
|
|
|
print("Build [x86_64] Downloaded")
|
|
|
|
break
|
|
|
|
|
|
|
|
while True:
|
2022-09-17 23:37:44 +05:30
|
|
|
os.system("curl https://raw.githubusercontent.com/LibreTubeAlpha/Archive/main/latestBuild/app-armeabi-v7a-debug.apk --output app-armeabi-v7a-debug.apk")
|
|
|
|
outputStr = open("app-armeabi-v7a-debug.apk","r").read()
|
2022-09-17 23:28:46 +05:30
|
|
|
if "Not Found" not in outputStr:
|
|
|
|
print("Build [arm7] Downloaded")
|
|
|
|
break
|
|
|
|
|
|
|
|
while True:
|
2022-09-17 23:37:44 +05:30
|
|
|
os.system("curl https://raw.githubusercontent.com/LibreTubeAlpha/Archive/main/latestBuild/app-armeabi-v8a-debug.apk --output app-armeabi-v8a-debug.apk")
|
|
|
|
outputStr = open("app-armeabi-v8a-debug.apk","r").read()
|
2022-09-17 23:28:46 +05:30
|
|
|
if "Not Found" not in outputStr:
|
|
|
|
print("Build [arm8] Downloaded")
|
|
|
|
break
|