mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-27 15:44:12 +08:00
.
This commit is contained in:
parent
074cdc9445
commit
ef306eab32
11
.github/scripts/build_lunatranslator.py
vendored
11
.github/scripts/build_lunatranslator.py
vendored
@ -161,12 +161,17 @@ def downloadLocaleEmulator():
|
||||
)
|
||||
p = subprocess.Popen("LocaleEmulator/LEInstaller.exe")
|
||||
while 1:
|
||||
if os.path.exists("LocaleEmulator/LECommonLibrary.dll") and os.path.exists(
|
||||
"LocaleEmulator/LEConfig.xml"
|
||||
):
|
||||
if os.path.exists("LocaleEmulator/LECommonLibrary.dll"):
|
||||
break
|
||||
time.sleep(0.1)
|
||||
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 [
|
||||
"LoaderDll.dll",
|
||||
"LocaleEmulator.dll",
|
||||
|
Loading…
x
Reference in New Issue
Block a user