This commit is contained in:
恍兮惚兮 2024-06-25 03:03:24 +08:00
parent 1748e5f8a1
commit 04631c0f69
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import sys
pyversion = platform.python_version()
pyversion2 = "".join(pyversion.split(".")[:2])
x86 = int(sys.argv[1]) if len(sys.argv) > 1 else 0
x86 = platform.architecture()[0] == "32bit"
if x86:
downlevel = r"C:\Windows\SysWOW64\downlevel"

View File

@ -288,4 +288,4 @@ if __name__ == "__main__":
subprocess.run(f"{py37Path} -m pip install --upgrade pip")
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')