mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
Fix Collecting Shell Output
This commit is contained in:
parent
9a0ea4ee7c
commit
ecd41f7db3
14
.github/pkg.py
vendored
14
.github/pkg.py
vendored
@ -1,25 +1,29 @@
|
|||||||
import subprocess
|
import os
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
outputStr = subprocess.call("curl https://raw.githubusercontent.com/LibreTubeAlpha/Archive/main/latestBuild/app-x86-debug.apk --output ~/app-x86-debug.apk", shell=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:
|
if "Not Found" not in outputStr:
|
||||||
print("Build [x86] Downloaded")
|
print("Build [x86] Downloaded")
|
||||||
break
|
break
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
outputStr = subprocess.call("curl https://raw.githubusercontent.com/LibreTubeAlpha/Archive/main/latestBuild/app-x86_64-debug.apk --output ~/app-x86_64-debug.apk", shell=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:
|
if "Not Found" not in outputStr:
|
||||||
print("Build [x86_64] Downloaded")
|
print("Build [x86_64] Downloaded")
|
||||||
break
|
break
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
outputStr = subprocess.call("curl https://raw.githubusercontent.com/LibreTubeAlpha/Archive/main/latestBuild/app-armeabi-v7a-debug.apk --output ~/app-armeabi-v7a-debug.apk", shell=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:
|
if "Not Found" not in outputStr:
|
||||||
print("Build [arm7] Downloaded")
|
print("Build [arm7] Downloaded")
|
||||||
break
|
break
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
outputStr = subprocess.call("curl https://raw.githubusercontent.com/LibreTubeAlpha/Archive/main/latestBuild/app-armeabi-v8a-debug.apk --output ~/app-armeabi-v8a-debug.apk", shell=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:
|
if "Not Found" not in outputStr:
|
||||||
print("Build [arm8] Downloaded")
|
print("Build [arm8] Downloaded")
|
||||||
break
|
break
|
2
.github/workflows/tg-bot.yml
vendored
2
.github/workflows/tg-bot.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Download packages
|
- name: Download packages
|
||||||
run: |
|
run: |
|
||||||
cd .github
|
cd ~
|
||||||
python pkg.py
|
python pkg.py
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user