This commit is contained in:
恍兮惚兮 2024-11-30 09:43:53 +08:00
parent 074cdc9445
commit ef306eab32

View File

@ -161,12 +161,17 @@ def downloadLocaleEmulator():
) )
p = subprocess.Popen("LocaleEmulator/LEInstaller.exe") p = subprocess.Popen("LocaleEmulator/LEInstaller.exe")
while 1: while 1:
if os.path.exists("LocaleEmulator/LECommonLibrary.dll") and os.path.exists( if os.path.exists("LocaleEmulator/LECommonLibrary.dll"):
"LocaleEmulator/LEConfig.xml"
):
break break
time.sleep(0.1) time.sleep(0.1)
p.kill() p.kill()
p = subprocess.Popen("LocaleEmulator/LEProc.exe")
while 1:
if os.path.exists("LocaleEmulator/LEConfig.xml"):
break
time.sleep(0.1)
p.kill()
for f in [ for f in [
"LoaderDll.dll", "LoaderDll.dll",
"LocaleEmulator.dll", "LocaleEmulator.dll",