Replies: 1 comment 6 replies
-
@RaySajuuk |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@RaySajuuk |
Beta Was this translation helpful? Give feedback.
-
@SoftFever,
First, thank you for all your hard work in making OrcaSlicer. It has been my default slicer for X1C since it is released.
I couldn't help but notice the app bundle releases are not notarized, and checking the GitHub action comment, and I see you run into an error on staple the ticket.
I am unsure if it is left this way intentionally, but in case it isn't.
This is because the codesign command is missing --options runtime (hardened runtime) required for Apple notary service. The staple command is not needed, but it is good to have as it will be recognized by the gatekeeper easily. After digging, I wrote a script to notarize the app bundle and generated dmg.
The tricky part is after codesign with hardened runtime, the bambu network plug-in stopped working. The solution is to add com.apple.security.cs.disable-library-validation to allow loading unsigned dylib.
There is an excellent video from Apple explaining this: https://developer.apple.com/wwdc19/703.
Also, I will include my script so you can take a look and make appropriate adjustments to the GitHub action file. You can create a directory and run the script inside.
You need to add your Apple Developer credentials and generate an app-specific password to use it.
My script does a few things:
Apple Notary Service accepts .zip or .dmg archives. I use dmg for easy distribution.
I wrote this script to help me notarize both BambuStudio and OrcaSlicer.
Usage:
Those two commands should be self-explanatory.
notarize.sh orca
notarize.sh bambu
Those two commands will set entitlement to false, which disables the slicer from loading the network plug-in.
notarize.sh orca local
notarize.sh bambu local
*I am just a beginner, learning things slowly.🫠 I do hope this will help.
notarize_.sh.zip
Beta Was this translation helpful? Give feedback.
All reactions