mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-01-09 19:10:30 +05:30
29 lines
1.3 KiB
Python
29 lines
1.3 KiB
Python
import os
|
|
|
|
while True:
|
|
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()
|
|
if "Not Found" not in outputStr:
|
|
print("Build [x86] Downloaded")
|
|
break
|
|
|
|
while True:
|
|
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()
|
|
if "Not Found" not in outputStr:
|
|
print("Build [x86_64] Downloaded")
|
|
break
|
|
|
|
while True:
|
|
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()
|
|
if "Not Found" not in outputStr:
|
|
print("Build [arm7] Downloaded")
|
|
break
|
|
|
|
while True:
|
|
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()
|
|
if "Not Found" not in outputStr:
|
|
print("Build [arm8] Downloaded")
|
|
break |