Open gmarinov opened 1 year ago
Dang. Could someone else with a mac try the package too and see if it's broken for everyone? I probably won't have time to debug the build/packaging anytime soon as I don't have easy access to a mac :/
i tried to tweak the Info.plist file or the adjacent files but nothing worked, until I replaced the m8c
binary itself with the one I compiled from source. The downloaded one is ~75kb, the compiled one I have is just over ~40kb.
otool
on both looks very similar.
Seems like Github Actions has recently switched to a newer Mac OS version in the builds... I tried manually triggering a new build, could you please check if this works any better? m8c-20221117-macos.zip
this is better. the wrapper app still won't open directly from the finder. however, the binary no longer segfaults, so I'm able to "show package contents" and then use "open" from inside it.
+
I think someone with the proper skills (and a computer for testing...) should rewrite the OSX build thing :)
Schism Tracker for example nowadays seems to have a nice way to automatically cross-compile it directly to both Intel and ARM, but unfortunately I do not have the time to get too much into how it works...
The build system was updated a little, could you please test if this build works?
expected: double-clicking downloaded app runs m8c.
actual:
xattr -r -d com.apple.quarantine path/to/app.app
doesn't fix itbut works from source
compiling from source, e.g.
make
and then./m8c
works fine: