Skip to content

Commit

Permalink
update macos Entitlements.plist
Browse files Browse the repository at this point in the history
  • Loading branch information
lindongchen committed Nov 8, 2024
1 parent e98e7ec commit c9280a0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gui/src-tauri/Entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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.app-sandbox</key>
<false/>
</dict>
</plist>
18 changes: 18 additions & 0 deletions gui/src-tauri/tauri.macos.conf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"bundle": {
"active": true,
"targets": "all",
"resources": [],
"externalBin": ["bin/ztmctl"],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"macOS": {
"entitlements": "./Entitlements.plist"
}
}
}

0 comments on commit c9280a0

Please sign in to comment.