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
e175a80e57
commit
74e82aca00
@ -3070,8 +3070,6 @@ if os.path.exists(f"{programPath}/WineLib/usr"):
|
|||||||
libPathList = []
|
libPathList = []
|
||||||
for libPath in [f"{programPath}/WineLib/usr/lib", f"{programPath}/WineLib/usr/lib64"]:
|
for libPath in [f"{programPath}/WineLib/usr/lib", f"{programPath}/WineLib/usr/lib64"]:
|
||||||
for i in os.listdir(libPath):
|
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}"):
|
if not os.path.isdir(f"{libPath}/{i}"):
|
||||||
try:
|
try:
|
||||||
if not os.path.getsize(f"{libPath}/{i}"):
|
if not os.path.getsize(f"{libPath}/{i}"):
|
||||||
@ -3080,6 +3078,8 @@ if os.path.exists(f"{programPath}/WineLib/usr"):
|
|||||||
continue
|
continue
|
||||||
libPathList.append(f"{libPath}/{i}")
|
libPathList.append(f"{libPath}/{i}")
|
||||||
else:
|
else:
|
||||||
|
if not os.path.exists(f"{libPath}/{i}/libc.so.6"):
|
||||||
|
continue
|
||||||
libPathList.append(f"{libPath}/{i}/")
|
libPathList.append(f"{libPath}/{i}/")
|
||||||
print(libPathList)
|
print(libPathList)
|
||||||
if os.path.exists(f"{programPath}/InstallRuntime"):
|
if os.path.exists(f"{programPath}/InstallRuntime"):
|
||||||
|
Loading…
Reference in New Issue
Block a user