From 76f1d74a41e2a0d75996c6d5e9d07992248ada4a Mon Sep 17 00:00:00 2001 From: ModStart Date: Sat, 14 Dec 2024 22:41:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9AMac=20=E6=89=93?= =?UTF-8?q?=E5=8C=85=E5=A2=9E=E5=8A=A0=E8=87=AA=E5=BB=BA=E8=AF=81=E4=B9=A6?= =?UTF-8?q?=EF=BC=8C=E9=81=BF=E5=85=8D=E5=AE=89=E8=A3=85=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E8=A2=AB=E6=8D=9F=E5=9D=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron-builder.json5 | 3 ++- entitlements.mac.plist | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 entitlements.mac.plist diff --git a/electron-builder.json5 b/electron-builder.json5 index fabe8ac9..dff0af0a 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -89,7 +89,8 @@ } ], "x64ArchFiles": "Contents/Resources/extra/**/*", - "entitlementsInherit": "entitlements.mac.plist", + "entitlementsInherit": "./entitlements.mac.plist", + "entitlements": "./entitlements.mac.plist", "extendInfo": { "NSDocumentsFolderUsageDescription": "Application requests access to the user's Documents folder.", "NSDownloadsFolderUsageDescription": "Application requests access to the user's Downloads folder." diff --git a/entitlements.mac.plist b/entitlements.mac.plist new file mode 100644 index 00000000..273c351b --- /dev/null +++ b/entitlements.mac.plist @@ -0,0 +1,12 @@ + + + + + com.apple.security.cs.allow-jit + + com.apple.security.cs.allow-unsigned-executable-memory + + com.apple.security.cs.allow-dyld-environment-variables + + + \ No newline at end of file