Fix error with 64-bit wine prefixes

This commit is contained in:
Fierelier 2022-05-10 14:01:37 +02:00
parent f46a053cc0
commit 0992da6b86
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ def main():
os.makedirs(prefixFolder)
if (syswow == False): os.environ["WINEARCH"] = "win32"
launchPrefix(prefix,["wine","winecfg"])
del os.environ["WINEARCH"]
if "WINEARCH" in os.environ: del os.environ["WINEARCH"]
break
break