-
-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update build scripts #1829
Update build scripts #1829
Conversation
I've tried to update the AppImage and DMGs, and added build for ARM for MacOS. Could either of you test these, @Ryex and @mpejcoch? The builds are available here: https://github.com/vkbo/novelWriter/actions/runs/8766741231 |
Ok, @kkostov tested the M1 build, and apparently it just exits. |
There was an error in the launch script. I removed some escaping I shouldn't have. Should be fixed here: https://github.com/vkbo/novelWriter/actions/runs/8767345888 |
@vkbo confirmed, the fix worked and now the app works as well 🚀 |
Great! Thanks for your help. |
Rosetta is a translation mechanism allowing x86_64 binaries to run on Apple Silicon. It's an optional component. macOS would only prompt the user to install it if they try to launch a binary which is not a Universal or Apple Silicon app. More info Unfortunately I can't remove Rosetta from my system as I need it for development purposes in order to really, really test. A quick check on the main binary of the app shows that it should be able to run without Rosetta: Is it possible that some internal libraries/dependencies/processes launched by the app are x86_64? I scanned the entire bin folder and all seem to be either scripts or arm64: for file in /Applications/novelWriter.app/Contents/Resources/bin/*; do
echo "$file:"
file "$file"
done
I also tried forcing the architecture using |
Thanks for testing. I think the issue may be somewhere in the lib folder rather than in bin. |
Seems it may be Qt5 actually. Also looks like Qt6 will be fine, so maybe the problem will solve itself when I switch novelWriter to Qt6. https://www.qt.io/blog/qt-on-apple-silicon |
Summary:
This PR:
Related Issue(s):
Reviewer's Checklist: