mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 16:00:31 +05:30
Add Sleep to collector
This commit is contained in:
parent
09f27aaebf
commit
214c2235cc
3
.github/pkg.py
vendored
3
.github/pkg.py
vendored
@ -1,5 +1,6 @@
|
|||||||
import os
|
import os
|
||||||
from json import load
|
from json import load
|
||||||
|
import time
|
||||||
|
|
||||||
data = load(open('commit.json'))
|
data = load(open('commit.json'))
|
||||||
while True:
|
while True:
|
||||||
@ -9,6 +10,8 @@ while True:
|
|||||||
print(data['sha'][0:7])
|
print(data['sha'][0:7])
|
||||||
if f == data['sha'][0:7]:
|
if f == data['sha'][0:7]:
|
||||||
break
|
break
|
||||||
|
else:
|
||||||
|
time.sleep(10)
|
||||||
|
|
||||||
os.system("curl https://raw.githubusercontent.com/LibreTubeAlpha/Archive/main/latestBuild/app-x86-debug.apk --output app-x86-debug.apk")
|
os.system("curl https://raw.githubusercontent.com/LibreTubeAlpha/Archive/main/latestBuild/app-x86-debug.apk --output app-x86-debug.apk")
|
||||||
print("Build [x86] Downloaded")
|
print("Build [x86] Downloaded")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user