macOS pkg written to same filename for x64 and arm64
See original GitHub issue- Version: 22.10.5
- Electron Version: 12.0.5
- Electron Type (current, beta, nightly): current
- Target: macOS pkg for x64 and arm64
electron-builder --mac pkg --x64 --arm64
builds both the x64 pkg and the arm64 pkg, but it writes them both to the same filename Zulip-5.6.0.pkg
, so the latter immediately overwrites the former.
• building target=pkg arch=x64 file=dist/Zulip-5.6.0.pkg
…
• building target=pkg arch=arm64 file=dist/Zulip-5.6.0.pkg
I would expect the latter to go to Zulip-5.6.0-arm64.pkg
, as already happens with DMG and zip.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Building a Universal macOS Binary - Apple Developer
Create macOS apps and other executables that run natively on both Apple silicon and Intel-based Mac ... #if arch(arm64) // Put 64-bit arm64...
Read more >Create a single file for application deployment - .NET
Single file apps are always OS and architecture specific. You need to publish for each configuration, such as Linux x64, Linux Arm64, Windows ......
Read more >Silver Sparrow macOS malware with M1 compatibility
Clipping Silver Sparrow's wings: Outing macOS malware before it takes flight ... File name: updater.pkg (installer package for v1)
Read more >pkg - npm
Package your Node.js project into an executable. ... macOS: possible to build x64 on arm64 with Rosetta 2 but not opposite.
Read more >Error - R 4.2.2 for macOS (ARM64) can't be installed on this ...
Check if you selected the right package according to the processor build (Apple silicon / Intel) of your mac when manually downloading the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, that works for me.
Big thanks for the gist! Wish other tickets had those provided more often 🙂
I added the arch/pkg args to the build config and it repro’d there as well. Found the issue seems to only exist with
pkg
target. I testedzip
anddmg
too and both worked correctly.I think I was able to identify the fix, can you try out this patch? File:
app-builder-lib+22.10.5.patch