chore: code sigining for mac

This commit is contained in:
DIYgod 2024-07-04 19:24:32 +08:00
parent 7c10ddb755
commit 22c8b28be9
No known key found for this signature in database
3 changed files with 6 additions and 2 deletions

View File

@ -52,3 +52,6 @@ jobs:
# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
mac_certs: ${{ secrets.mac_certs }}
mac_certs_password: ${{ secrets.mac_certs_password }}

View File

@ -6,7 +6,5 @@
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
</dict>
</plist>

View File

@ -36,6 +36,7 @@ nsis:
uninstallDisplayName: ${productName}
createDesktopShortcut: always
mac:
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
@ -44,6 +45,8 @@ mac:
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
icon: resources/icon.icns
hardenedRuntime: true
gatekeeperAssess: false
dmg:
artifactName: ${name}-${version}.${ext}
linux: