add arm64 platform

This commit is contained in:
cutls 2021-04-14 13:11:33 +09:00
parent cff6be6af0
commit 8621b66203

View File

@ -133,6 +133,17 @@ async function cmd() {
'../build/TheDesk.exe' '../build/TheDesk.exe'
) )
} }
if (isTrue('withArm64')) {
await build(Platform.WINDOWS, Arch.arm64, config)
fs.renameSync(
`../build/TheDesk ${version}.exe`,
'../build/TheDesk-arm64.exe'
)
fs.renameSync(
`../build/TheDesk-setup.exe`,
'../build/TheDesk-setup-arm64.exe'
)
}
} else if (platform == 'linux') { } else if (platform == 'linux') {
if (arch == 'ia32') { if (arch == 'ia32') {
await build(Platform.LINUX, Arch.ia32, config) await build(Platform.LINUX, Arch.ia32, config)