-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Codesign and notarize empress executable for macOS on GitHub Actions (#…
…237) Codesign and notarize empress executable for macOS on GitHub Actions so that the gatekeeper service allows users to open the app without going to System Preferences > Security and Privacy -> Open Anyway. I use my own (Santi Santichaivekin's) Apple ID to codesign and notarize the application. The certificate is stored in repository secrets. Additional Resources on how to set this up: https://docs.github.com/en/actions/guides/installing-an-apple-certificate-on-macos-runners-for-xcode-development https://localazy.com/blog/how-to-automatically-sign-macos-apps-using-github-actions https://haim.dev/posts/2020-08-08-python-macos-app/
- Loading branch information
1 parent
27637db
commit 22bbf00
Showing
3 changed files
with
71 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!-- Entitlements for code signing on macos. See https://github.com/pyinstaller/pyinstaller/issues/4629#issuecomment-574375331 --> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<!-- These are required for binaries built by PyInstaller --> | ||
<key>com.apple.security.cs.allow-jit</key> | ||
<true/> | ||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key> | ||
<true/> | ||
</dict> | ||
</plist> |