Skip to content

Commit

Permalink
fix: update macos entitlements and remove old sharp files rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Oct 22, 2024
1 parent f7812a5 commit 97de9c3
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 66 deletions.
18 changes: 17 additions & 1 deletion apps/app/entitlements.mac.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,25 @@
<!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-unsigned-executable-memory</key>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<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.debugger</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.inherit</key>
<true/>
<key>com.apple.security.automation.apple-events</key>
<true/>
</dict>
</plist>
35 changes: 3 additions & 32 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,39 +129,10 @@
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"extraFiles": [
{
"from": "../../node_modules/sharp/vendor/8.13.3/darwin-x64/lib",
"to": "Frameworks",
"filter": [
"!glib-2.0/**/*"
]
}
]
},
"win": {
"extraFiles": [
{
"from": "../../node_modules/sharp/build/Release",
"to": ".",
"filter": [
"lib*.dll"
]
}
]
},
"linux": {
"extraFiles": [
{
"from": "../../node_modules/sharp/vendor/8.13.3/linux-x64/lib",
"to": ".",
"filter": [
"libvips*.so.*"
]
}
]
"entitlementsInherit": "entitlements.mac.plist"
},
"win": {},
"linux": {},
"dmg": {
"artifactName": "SuperConductor ${version} macOS Installer.${ext}"
},
Expand Down
18 changes: 17 additions & 1 deletion apps/tsr-bridge/entitlements.mac.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,25 @@
<!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-unsigned-executable-memory</key>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<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.debugger</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.inherit</key>
<true/>
<key>com.apple.security.automation.apple-events</key>
<true/>
</dict>
</plist>
35 changes: 3 additions & 32 deletions apps/tsr-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,39 +67,10 @@
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"extraFiles": [
{
"from": "../../node_modules/sharp/vendor/8.13.3/darwin-x64/lib",
"to": "Frameworks",
"filter": [
"!glib-2.0/**/*"
]
}
]
},
"win": {
"extraFiles": [
{
"from": "../../node_modules/sharp/build/Release",
"to": ".",
"filter": [
"lib*.dll"
]
}
]
},
"linux": {
"extraFiles": [
{
"from": "../../node_modules/sharp/vendor/8.13.3/linux-x64/lib",
"to": ".",
"filter": [
"libvips*.so.*"
]
}
]
"entitlementsInherit": "entitlements.mac.plist"
},
"win": {},
"linux": {},
"dmg": {
"artifactName": "TSR-Bridge ${version} macOS Installer.${ext}"
},
Expand Down

0 comments on commit 97de9c3

Please sign in to comment.