1.6.1更新+API更新
This commit is contained in:
@@ -298,7 +298,7 @@ class UEngine:
|
||||
if not os.path.exists:
|
||||
os.mkdir("/tmp/uengine-runner")
|
||||
File("/tmp/uengine-runner/install.sh").write("sudo dpkg -i /tmp/uengine-runner/u*.deb\nsudo apt install -f")
|
||||
os.system("wget -P '/tmp/uengine-runner' 'https://hub.fastgit.org/gfdgd-xi/uengine-runner/releases/download/U1.1.14/uengine-android-image_1.1.14_amd64.deb' && pkexec bash '/tmp/uengine-runner/install.sh'")
|
||||
os.system("wget -P '/tmp/uengine-runner' 'https://hub.fastgit.org/gfdgd-xi/uengine-runner/releases/download/U1.2.15/uengine-android-image_1.2.15_amd64.deb' && pkexec bash '/tmp/uengine-runner/install.sh'")
|
||||
class Services:
|
||||
def Open():
|
||||
os.system("pkexec systemctl enable uengine-container uengine-session && systemctl start uengine-container uengine-session")
|
||||
@@ -350,13 +350,6 @@ class UengineRunner:
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("本 API 不支持直接运行,请通过引入的方式使用此 API")
|
||||
apki = APK("/home/gfdgd_xi/下载/60D3B51B76CCAC313B3F0809FD1A64FD.apk")
|
||||
print(apki.packageName())
|
||||
print(apki.chineseLabel())
|
||||
#print(apki.install())
|
||||
#apki.run()
|
||||
#apki.buildDeb("/home/gfdgd_xi/下载/好奇时间.deb")
|
||||
apki.uninstall()
|
||||
quit()
|
||||
|
||||
if not ROOT.GetRoot():
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
mkdir -p ~/temp
|
||||
cd ~/temp
|
||||
echo "正在下载supersu"
|
||||
wget -P ~/temp http://supersuroot.org/downloads/SuperSU-v2.82-201705271822.zip
|
||||
aria2c -x 16 -s 16 -d ~/temp http://supersuroot.org/downloads/SuperSU-v2.82-201705271822.zip
|
||||
cd ..
|
||||
mkdir -p ~/temp/work/dabao/extract/DEBIAN
|
||||
echo "正在解压supersu"
|
||||
|
||||
Reference in New Issue
Block a user