From 7192ffe878a0fb3165446095e3efdf4ce3a33eea Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford Date: Fri, 22 May 2020 16:18:58 -0700 Subject: [PATCH] fix MAS build (!!!) apparently the `com.apple.security.app-sandbox` entitlement and the `hardenedRuntime: true` setting are mututally exclusive with `electron-builder`, so the hardened runtime is now only used by non-MAS builds ('mac' but not 'mas' or 'mas-dev') --- electron-builder.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/electron-builder.yaml b/electron-builder.yaml index 3fe8232..ca1e8b4 100644 --- a/electron-builder.yaml +++ b/electron-builder.yaml @@ -24,6 +24,7 @@ mas: category: public.app-category.education entitlements: buildResources/entitlements.mas.plist entitlementsInherit: buildResources/entitlements.mas.inherit.plist + hardenedRuntime: false icon: buildResources/ScratchDesktop.icns masDev: type: development