diff options
| author | Brendan Allan <[email protected]> | 2025-12-08 02:42:23 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-07 13:42:23 -0500 |
| commit | 1574e2457ba563164642efa6e2dc63aa1389d3f4 (patch) | |
| tree | cbeb856b370b40aec512367f54f84c40b5d2dd3e /packages | |
| parent | af33212f7719a377c1ca01b6331d0dbfeb95ba2d (diff) | |
| download | opencode-1574e2457ba563164642efa6e2dc63aa1389d3f4.tar.gz opencode-1574e2457ba563164642efa6e2dc63aa1389d3f4.zip | |
Desktop macOS codesigning and notarization (#5154)
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Dax Raad <[email protected]>
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/tauri/src-tauri/entitlements.plist | 16 | ||||
| -rw-r--r-- | packages/tauri/src-tauri/tauri.conf.json | 5 |
2 files changed, 20 insertions, 1 deletions
diff --git a/packages/tauri/src-tauri/entitlements.plist b/packages/tauri/src-tauri/entitlements.plist new file mode 100644 index 000000000..afa54db33 --- /dev/null +++ b/packages/tauri/src-tauri/entitlements.plist @@ -0,0 +1,16 @@ +<?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> + <key>com.apple.security.cs.allow-jit</key> + <true/> + <key>com.apple.security.cs.allow-unsigned-executable-memory</key> + <true/> + <key>com.apple.security.cs.disable-executable-page-protection</key> + <true/> + <key>com.apple.security.cs.allow-dyld-environment-variables</key> + <true/> + <key>com.apple.security.cs.disable-library-validation</key> + <true/> +</dict> +</plist> diff --git a/packages/tauri/src-tauri/tauri.conf.json b/packages/tauri/src-tauri/tauri.conf.json index e111b239e..d8a48c976 100644 --- a/packages/tauri/src-tauri/tauri.conf.json +++ b/packages/tauri/src-tauri/tauri.conf.json @@ -22,7 +22,10 @@ "targets": ["deb", "rpm", "appimage", "dmg", "app", "nsis"], "icon": ["icons/32x32.png", "icons/128x128.png", "icons/[email protected]", "icons/icon.icns", "icons/icon.ico"], "externalBin": ["sidecars/opencode"], - "createUpdaterArtifacts": true + "createUpdaterArtifacts": true, + "macOS": { + "entitlements": "./entitlements.plist" + } }, "plugins": { "updater": { |
