mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
初步termux支持
This commit is contained in:
@@ -8,7 +8,12 @@ sys.path.append(f"{programPath}/..")
|
||||
import os
|
||||
import sys
|
||||
import json
|
||||
import dbus
|
||||
try:
|
||||
import dbus
|
||||
except:
|
||||
os.system("python3 -m pip install --upgrade dbus-python --trusted-host https://repo.huaweicloud.com -i https://repo.huaweicloud.com/repository/pypi/simple --break-system-packages")
|
||||
os.system("python3 -m pip install --upgrade dbus-python --trusted-host https://repo.huaweicloud.com -i https://repo.huaweicloud.com/repository/pypi/simple")
|
||||
import dbus
|
||||
import threading
|
||||
from UI.KeyAddGui import *
|
||||
import PyQt5.QtWidgets as QtWidgets
|
||||
@@ -106,4 +111,4 @@ if __name__ == "__main__":
|
||||
window.show()
|
||||
threading.Thread(target=Check.CheckThreading).start()
|
||||
Clear()
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec_())
|
||||
|
||||
Reference in New Issue
Block a user