mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-13 01:58:27 +08:00
忘记添加事件
This commit is contained in:
parent
fffb56c098
commit
cf0be8a2f1
@ -14,12 +14,12 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
import pyperclip
|
|
||||||
import random
|
import random
|
||||||
import base64
|
import base64
|
||||||
import shutil
|
import shutil
|
||||||
import hashlib
|
import hashlib
|
||||||
import platform
|
import platform
|
||||||
|
import pyperclip
|
||||||
import threading
|
import threading
|
||||||
import traceback
|
import traceback
|
||||||
import webbrowser
|
import webbrowser
|
||||||
@ -3014,6 +3014,8 @@ installLib.addAction(runnerlibinfo)
|
|||||||
installLib.addAction(statusRunnerLib)
|
installLib.addAction(statusRunnerLib)
|
||||||
installLib.addAction(installRunnerLib)
|
installLib.addAction(installRunnerLib)
|
||||||
installLib.addAction(removeRunnerLib)
|
installLib.addAction(removeRunnerLib)
|
||||||
|
installRunnerLib.triggered.connect(lambda: threading.Thread(target=OpenTerminal, args=[f"bash '{programPath}/WineLib/install.sh'"]))
|
||||||
|
removeRunnerLib.triggered.connect(lambda: threading.Thread(target=OpenTerminal, args=[f"bash '{programPath}/WineLib/install.sh'"]))
|
||||||
if os.path.exists(f"{programPath}/WineLib/usr/lib/ld-linux-x86-64.so.2"):
|
if os.path.exists(f"{programPath}/WineLib/usr/lib/ld-linux-x86-64.so.2"):
|
||||||
installRunnerLib.setDisabled(True)
|
installRunnerLib.setDisabled(True)
|
||||||
removeRunnerLib.setEnabled(True)
|
removeRunnerLib.setEnabled(True)
|
||||||
|
Loading…
Reference in New Issue
Block a user