mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-12 17:48:27 +08:00
修改位置
This commit is contained in:
parent
e175a80e57
commit
74e82aca00
@ -3070,8 +3070,6 @@ if os.path.exists(f"{programPath}/WineLib/usr"):
|
||||
libPathList = []
|
||||
for libPath in [f"{programPath}/WineLib/usr/lib", f"{programPath}/WineLib/usr/lib64"]:
|
||||
for i in os.listdir(libPath):
|
||||
if not os.path.exists(f"{libPath}/{i}/libc.so.6"):
|
||||
continue
|
||||
if not os.path.isdir(f"{libPath}/{i}"):
|
||||
try:
|
||||
if not os.path.getsize(f"{libPath}/{i}"):
|
||||
@ -3080,6 +3078,8 @@ if os.path.exists(f"{programPath}/WineLib/usr"):
|
||||
continue
|
||||
libPathList.append(f"{libPath}/{i}")
|
||||
else:
|
||||
if not os.path.exists(f"{libPath}/{i}/libc.so.6"):
|
||||
continue
|
||||
libPathList.append(f"{libPath}/{i}/")
|
||||
print(libPathList)
|
||||
if os.path.exists(f"{programPath}/InstallRuntime"):
|
||||
|
Loading…
Reference in New Issue
Block a user