Electron app on Apple silicon using Rosetta2?

Hi, I'm trying to get our Electron app running on Apple Silicon Mac. Running a beta release of macOS Big Sur on our DTK machine, I reached the conclusion that just upgrading the Electron version our app is using to 11.0.0 would be sufficient to get the app running under Rosetta2.

Today I updated the DTK to official Big Sur 11.0.1, and now the same (Intel) application built using Electron 11.0.0 refuses to start. The app icon has a "prohibition sign" on top of it, and when trying to launch it from command line, I get

Code Block
% open MyApp.app
The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10661 "(null)" UserInfo={_LSLine=3665, _LSFunction=_LSOpenStuffCallLocal}


Rebuilding the app changing only Electron version to 10.1.5 makes the "prohibition sign" go away and the app can be launched (although it doesn't work properly as Electron 10 has other Rosetta2 interoperability issues).

Does anyone have any clue what's the issue here?
Answered by spartan1 in 647628022
Got an answer for this from Electron devs stating that this is a DTK issue and the app should work normally on M1 Macs: https://github.com/electron/electron/issues/26530
Accepted Answer
Got an answer for this from Electron devs stating that this is a DTK issue and the app should work normally on M1 Macs: https://github.com/electron/electron/issues/26530
Did you verify the issue on M1 macs?

Did you verify the issue on M1 macs?

No, we haven't got one yet.
Updating to Electron 11.0.3, the app seems to work again normally on DTK.
Electron app on Apple silicon using Rosetta2?
 
 
Q