sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.35k stars 642 forks source link

mac .dmgs "damaged #935

Open diego- opened 6 months ago

diego- commented 6 months ago

The referenced offline packages of CircuitJS are available here: http://www.falstad.com/circuit/offline/

The .dmg files generated for MacOS do not seem to be properly configured. When the disk image is opened, MacOS complains that it is damaged and must be ejected.

pfalstad commented 6 months ago

They work fine for me. What version of the OS are you on? I'm running Sonoma.

diego- commented 6 months ago

I'm running Sonoma 14.4.1 on an Apple M1 Max chip.

Attached a screenshot of the issue for more detail. Screenshot 2024-04-24 at 10 20 55 AM

(love the circuit simulator btw, great job!)

pfalstad commented 6 months ago

ok the app doesn't work for me actually, I thought you meant opening the dmg doesn't work. Hmm.

pfalstad commented 6 months ago

If you do "xattr -cr CircuitJS1.app" it will run, but I'll try to figure out why you need to do that.

diego- commented 6 months ago

you're right, its an app issue. I tried running it from the opened DMG directly and got that message. When I drag it to Applications I get a slightly different version of the same error.

xattr solution works, thanks!