mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 11:02:04 +08:00
修复安全问题
This commit is contained in:
@@ -1356,6 +1356,15 @@ try:
|
||||
wine[f"{programPath}/wine/{i}"] = f"{programPath}/wine/{i}"
|
||||
except:
|
||||
pass
|
||||
try:
|
||||
for i in json.loads(readtxt(f"{get_home()}/.deepwinerunner/wine/winelist.json")):
|
||||
if os.path.exists(f"{get_home()}/.deepwinerunner/wine/{i}.7z"):
|
||||
wine[f"{get_home()}/.deepwinerunner/wine/{i}.7z"] = f"{get_home()}/.deepwinerunner/wine/{i}.7z"
|
||||
continue
|
||||
if os.path.exists(f"{get_home()}/.deepwinerunner/wine/{i}"):
|
||||
wine[f"{get_home()}/.deepwinerunner/wine/{i}"] = f"{get_home()}/.deepwinerunner/wine/{i}"
|
||||
except:
|
||||
pass
|
||||
os.chdir("/")
|
||||
iconUiList = []
|
||||
helperConfigPath = None
|
||||
|
||||
Reference in New Issue
Block a user