question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intel mac auto-updates to arm64 build. Bump in electron-updater?

See original GitHub issue
  • Version: 22.10.4
  • Electron Version: 11.1
  • Electron Type (current, beta, nightly): current
  • Target: arm64, x64, windows

I’ve been using electron-updater. Unfortunately I noticed that arm64 builds were being downloaded instead of Intel builds on an Intel mac. When I investigated, I found that my node_modules contained an out-of-date version of electron-updater, which didn’t have any of the "arm64" code updates, and downloaded the arm64 build on an Intel mac.

The version of electron-updater that’s available on NPM is still 4.3.5, but the latest version in the code is 4.3.7. I also don’t know how to install electron-updater from source since it’s part of the monorepo. I think the 4.3.5 version on NPM may actually relate to multiple tags somehow.

Can we please get a bump of electron-updater on NPM to 4.3.7? It might be sufficient to document that electron-updater has to be v4.3.7 and up. Either way, I broke a bunch of installs so I’m trying to stop others having the same problem.

I’d like to move to a unified build eventually, but my app is a few hundred megabytes so I’m putting it off for now 😃

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
bjbkcommented, Mar 1, 2021

@elliottkember is this issue still valid using current prerelease versions or are further investigations needed?

I’ll check when I get a chance with the latest version, but the problem disappeared with 4.3.7 so unless there’s a regression I think it will be fine.

I will also attempt to convert to a universal build. x86 and ARM should both auto update to universal right?

I have found that my builds pull down the proper update. First run on Apple Silicon is slower but subsequent starts are quick as normally. The builds show as universal in the System Information under software.

1reaction
bjbkcommented, Feb 12, 2021

@romansp yes, the file is the same. And builds are still properly being fetched. I do have to use as yet unreleased versions of builder and updater.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Auto Update - electron-builder
macOS application must be signed in order for auto updating to work. ... electron-builder automatically creates app-update.yml file for you on build in...
Read more >
app-builder-lib | Yarn - Package Manager
A complete solution to package and build a ready for distribution Electron, Proton Native app for macOS, Windows and Linux with “auto update”...
Read more >
Downloads - StarUML
macOS (Intel x86) macOS (Apple arm64). Windows 10 or higher ... Multiple Windows Support; Data Flow Diagram Support; Auto Update; Light and Dark...
Read more >
Apple Silicon compatibility? - #25 by AnonYmouse - Ask the ...
Today, I tried to build+pack a universal Bitwarden using electron-builder 22.10.5 and was able to get it running. See Activity Monitor Screen Shot...
Read more >
Microsoft Teams optimized for Apple Silicon Macs finally arrives
Funny how 500 MB suddenly seems like a “reasonable” RAM usage :). I wonder if/when they update this way the version for Intel...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found