mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
.
This commit is contained in:
parent
e33a54e731
commit
bba6e39a58
17
build.py
17
build.py
@ -224,8 +224,21 @@ def buildLunaHook():
|
||||
|
||||
def buildPlugins():
|
||||
os.chdir(rootDir + "\\plugins\\scripts")
|
||||
subprocess.run(f"build32.bat")
|
||||
subprocess.run(f"build64.bat")
|
||||
subprocess.run("python fetchwebview2.py")
|
||||
subprocess.run(
|
||||
f'cmake ../CMakeLists.txt -G "Visual Studio 17 2022" -A win32 -T host=x86 -B ../build/x86 -DCMAKE_SYSTEM_VERSION=10.0.26621.0'
|
||||
)
|
||||
subprocess.run(
|
||||
f"cmake --build ../build/x86 --config Release --target ALL_BUILD -j 14"
|
||||
)
|
||||
subprocess.run(f"python copytarget.py 1")
|
||||
subprocess.run(
|
||||
f'cmake ../CMakeLists.txt -G "Visual Studio 17 2022" -A x64 -T host=x64 -B ../build/x64 -DCMAKE_SYSTEM_VERSION=10.0.26621.0'
|
||||
)
|
||||
subprocess.run(
|
||||
f"cmake --build ../build/x64 --config Release --target ALL_BUILD -j 14"
|
||||
)
|
||||
subprocess.run(f"python copytarget.py 0")
|
||||
|
||||
|
||||
def downloadsomething():
|
||||
|
Loading…
x
Reference in New Issue
Block a user