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.

macOS Intel installs ARM on auto-update

See original GitHub issue
  • Electron-Builder Version: 22.11.4
  • Electron-Updater Version: 4.6.5
  • Node Version: v16.13.2
  • Electron Version: 17.0.0
  • Electron Type (current, beta, nightly): current
  • Target: macos

This issue was reported before, saying that 4.3.7 would have resolved the issue made me upgrade to 4.6.5 for electron-updater. I tried building locally and updating it which initially worked but testing it from an official release broke the app yet again.

What else could I try to fix this issue? The repo is https://github.com/lostdesign/linked The error occurs in tag 1.4.9, 1.4.10 and 1.4.11 - removed m1 in tag 1.4.12 and everything works as expected again obvs.

        mac: {
          hardenedRuntime: true,
          entitlements: './build/entitlements.mac.inherit.plist',
          // Disabled m1 due to it messing with the auto updating
          //target: {
          //  target: 'default',
          //  arch: ['arm64', 'x64']
          //}
        },

Thanks in advance!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14

github_iconTop GitHub Comments

2reactions
lostdesigncommented, Mar 5, 2022

Just curious, why not use arch: 'universal' for a single build?

What does that do @mmaietta ? I explicitly listed both as I came across that in other repos and thought you do need to handle them differently.

edit: Just checked https://github.com/electron/universal and guess I won’t use universal since that would make the app 400mb big 👀

1reaction
mmaiettacommented, Jul 18, 2022

@moloch-- no sorry, it is not possible to manually provide an updater config. Happy to review a PR if you’d like to contribute to that functionality!

Closing this issue since multiple people are reporting it fixed in the latest version

Read more comments on GitHub >

github_iconTop Results From Across the Web

About background updates in macOS - Apple Support
Your Mac automatically installs background updates for the security configuration and data files used by macOS.
Read more >
Tips and Tricks to Set Up Your Apple M1 for Development
Courier's Software Engineer Chris Gradwohl details some tips and tricks around setting up a new Apple M1 machine for development.
Read more >
Will M1 optimized apps install automatically when available?
119 votes, 35 comments. I was wondering if M1 optimized apps will automatically update on new macs through the app store or people...
Read more >
Intel® oneAPI Math Kernel Library (oneMKL) - Developer Guide
macOS *. For more documentation on this and other products, visit the oneAPI Documentation Library. Intel® Math Kernel Library is now.
Read more >
Parallels Desktop 16.5 for Mac Supports Both M1 and Intel ...
Running VMs on Apple M1 Mac computers in Parallels Desktop 16.5 requires ARM-based operating systems (OSs). Customers who install guest ...
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