mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
auto
This commit is contained in:
parent
1748e5f8a1
commit
04631c0f69
@ -4,7 +4,7 @@ import sys
|
|||||||
|
|
||||||
pyversion = platform.python_version()
|
pyversion = platform.python_version()
|
||||||
pyversion2 = "".join(pyversion.split(".")[:2])
|
pyversion2 = "".join(pyversion.split(".")[:2])
|
||||||
x86 = int(sys.argv[1]) if len(sys.argv) > 1 else 0
|
x86 = platform.architecture()[0] == "32bit"
|
||||||
if x86:
|
if x86:
|
||||||
downlevel = r"C:\Windows\SysWOW64\downlevel"
|
downlevel = r"C:\Windows\SysWOW64\downlevel"
|
||||||
|
|
||||||
|
2
build.py
2
build.py
@ -288,4 +288,4 @@ if __name__ == "__main__":
|
|||||||
subprocess.run(f"{py37Path} -m pip install --upgrade pip")
|
subprocess.run(f"{py37Path} -m pip install --upgrade pip")
|
||||||
subprocess.run(f"{py37Path} -m pip install -r requirements.txt")
|
subprocess.run(f"{py37Path} -m pip install -r requirements.txt")
|
||||||
|
|
||||||
subprocess.run(f'{py37Path} retrieval.py {int(arch == "x86")}')
|
subprocess.run(f'{py37Path} retrieval.py')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user