electron-userland/electron-builder issue 7050
This commit is contained in:
parent
a4f7f8dfd8
commit
8fcead947d
2
.github/workflows/build-debug-macos.yml
vendored
2
.github/workflows/build-debug-macos.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: cd app && yarn
|
||||
- run: cd app && yarn build:all
|
||||
- run: cd app && yarn build --skipX64 --withArm64
|
||||
- name: Deploy to S3
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
|
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",
|
||||
|
Loading…
Reference in New Issue
Block a user