Small build config cleanup (#2621)

This commit is contained in:
absidue 2022-09-26 22:17:04 +02:00 committed by GitHub
parent 148db553f5
commit 9de1a5e4dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,6 @@ const args = process.argv
let targets
const platform = os.platform()
const cpus = os.cpus()
if (platform === 'darwin') {
let arch = Arch.x64
@ -16,7 +15,7 @@ if (platform === 'darwin') {
if (args[2] === 'arm64') {
arch = Arch.arm64
}
targets = Platform.MAC.createTarget(['DMG','zip', '7z'], arch)
} else if (platform === 'win32') {
let arch = Arch.x64
@ -24,7 +23,7 @@ if (platform === 'darwin') {
if (args[2] === 'arm64') {
arch = Arch.arm64
}
targets = Platform.WINDOWS.createTarget(['nsis', 'zip', '7z', 'portable'], arch)
} else if (platform === 'linux') {
let arch = Arch.x64