electron-userland/electron-builder issue 7050
This commit is contained in:
14
app/build.js
14
app/build.js
@@ -174,11 +174,13 @@ async function cmd(options) {
|
||||
if (platform === 'darwin' && !isTrue(options, 'skipMacOS')) {
|
||||
if (isTrue(options, 'unnotarize')) delete config.afterSign
|
||||
if (arch === 'x64') {
|
||||
await build(Platform.MAC, Arch.x64, config)
|
||||
fs.renameSync(
|
||||
`../build/TheDesk-${version}.dmg`,
|
||||
`../build/TheDesk-${version}-x64.dmg`
|
||||
)
|
||||
if (!isTrue(options, 'skipX64')) {
|
||||
await build(Platform.MAC, Arch.x64, config)
|
||||
fs.renameSync(
|
||||
`../build/TheDesk-${version}.dmg`,
|
||||
`../build/TheDesk-${version}-x64.dmg`
|
||||
)
|
||||
}
|
||||
if (isTrue(options, 'withArm64')) {
|
||||
await build(Platform.MAC, Arch.arm64, config)
|
||||
fs.renameSync(
|
||||
@@ -198,7 +200,7 @@ async function cmd(options) {
|
||||
`../build/TheDesk-${version}.dmg`,
|
||||
`../build/TheDesk-${version}-arm64.dmg`
|
||||
)
|
||||
if (isTrue(options, 'skipX64')) await build(Platform.MAC, Arch.x64, config)
|
||||
if (!isTrue(options, 'skipX64')) await build(Platform.MAC, Arch.x64, config)
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -79,7 +79,7 @@
|
||||
"browserify": "^17.0.0",
|
||||
"chokidar": "^3.5.2",
|
||||
"dotenv": "^10.0.0",
|
||||
"electron": "^21.1.0",
|
||||
"electron": "^19.0.11",
|
||||
"electron-builder": "^23.2.0",
|
||||
"electron-notarize": "^1.2.1",
|
||||
"electron-rebuild": "^3.2.9",
|
||||
|
Reference in New Issue
Block a user