From 296fccb5c89d02f6334d66db7f2c16bcd6727eb4 Mon Sep 17 00:00:00 2001 From: ModStart Date: Sat, 14 Dec 2024 23:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9AMac=E6=89=93?= =?UTF-8?q?=E5=8C=85=E5=AE=89=E8=A3=85=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron-builder.json5 | 4 ++-- entitlements.mac.plist | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/electron-builder.json5 b/electron-builder.json5 index dff0af0a..7faaf8e4 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -97,8 +97,8 @@ }, "type": "development", "notarize": false, - "darkModeSupport": false, - "hardenedRuntime": false, + "darkModeSupport": true, + "hardenedRuntime": true, "identity": "LinkAndroidKey" }, "linux": { diff --git a/entitlements.mac.plist b/entitlements.mac.plist index 273c351b..623fc151 100644 --- a/entitlements.mac.plist +++ b/entitlements.mac.plist @@ -2,11 +2,15 @@ + com.apple.security.app-sandbox + com.apple.security.cs.allow-jit com.apple.security.cs.allow-unsigned-executable-memory com.apple.security.cs.allow-dyld-environment-variables + com.apple.security.cs.disable-library-validation + - \ No newline at end of file +