Lumerin-protocol / WalletDesktop

Lumerin Wallet for desktop computers
MIT License
1 stars 3 forks source link

dmg for arm macs won't open #113

Closed jcvernaleo closed 1 year ago

jcvernaleo commented 1 year ago

On an M2 (arm) based mac with latest os, installed dev-lumerin_v1.0.49_arm.dmg. When I try to start the app, a popup that says: "Lumerin Wallet.app" is damaged and can't be opened. You should move it to the trash.

jcvernaleo commented 1 year ago

Looks like the file type is correct:

jcv@bowser MacOS $ file Lumerin\ Wallet 
Lumerin Wallet: Mach-O 64-bit executable arm64
jcvernaleo commented 1 year ago

The non-arm version does open on the same arm mac.

LumerinIO commented 1 year ago

Exalate commented: GitHub source link is https://github.com/Lumerin-protocol/WalletDesktop/issues/113

LumerinIO commented 1 year ago

Alan Sorber commented: John, this is a known issue until we get our certificates and signature injected…for the time being this is the workaround from the CLI: {{xattr -c /Applications/Lumerin\ Wallet.app}}

this will allow non signed code to run but will not allow it to automatically change system functionality (so you’ll get password prompts from proxy-router when it starts up)

jcvernaleo commented 1 year ago

Interesting that the behavior is different for the arm and the amd64 dmg but it does work with that extra command.

LumerinIO commented 1 year ago

Alan Sorber commented: Yes, it’s because of Rosetta translator running on ARM for the intel package doesn’t allow base system access like the native one does. So finding the Intel version on ARM and right clicking opens it right up (manual approval that it’s not a security risk). The native version isn’t as forgiving to run outside of or without sandboxing…so clearing the extended attributes (for now) works.

jcvernaleo commented 1 year ago

At least they did this cleaner than the ppc to intel transition :)

LumerinIO commented 1 year ago

Alan Sorber commented: Truly!