Add build support for amrv7l (#956)
This commit is contained in:
parent
ada42a8c6c
commit
cd13691980
|
@ -16,10 +16,14 @@ if (platform == 'darwin') {
|
||||||
} else if (platform == 'linux') {
|
} else if (platform == 'linux') {
|
||||||
let arch = Arch.x64
|
let arch = Arch.x64
|
||||||
|
|
||||||
if (args[2] === 'arm') {
|
if (args[2] === 'arm64') {
|
||||||
arch = Arch.arm64
|
arch = Arch.arm64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (args[3] === 'arm32') {
|
||||||
|
arch = Arch.armv7l
|
||||||
|
}
|
||||||
|
|
||||||
targets = Platform.LINUX.createTarget(['deb', 'zip', 'apk', 'rpm', 'AppImage', 'pacman'], arch)
|
targets = Platform.LINUX.createTarget(['deb', 'zip', 'apk', 'rpm', 'AppImage', 'pacman'], arch)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -120,9 +120,11 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "run-s rebuild:electron pack build-release",
|
"build": "run-s rebuild:electron pack build-release",
|
||||||
"build:arm": "run-s rebuild:electron pack build-release:arm",
|
"build:arm64": "run-s rebuild:electron pack build-release:arm64",
|
||||||
|
"build:arm32": "run-s rebuild:electron pack build-release:arm32",
|
||||||
"build-release": "node _scripts/build.js",
|
"build-release": "node _scripts/build.js",
|
||||||
"build-release:arm": "node _scripts/build.js arm",
|
"build-release:arm64": "node _scripts/build.js arm64",
|
||||||
|
"build-release:arm32": "node _scripts/build.js arm32",
|
||||||
"debug": "run-s rebuild:electron debug-runner",
|
"debug": "run-s rebuild:electron debug-runner",
|
||||||
"debug-runner": "node _scripts/dev-runner.js --remote-debug",
|
"debug-runner": "node _scripts/dev-runner.js --remote-debug",
|
||||||
"dev": "run-s rebuild:electron dev-runner",
|
"dev": "run-s rebuild:electron dev-runner",
|
||||||
|
|
Loading…
Reference in New Issue