try disbaling hardened runtime for mas

This commit is contained in:
Kyle Spearrin 2019-08-02 08:41:53 -04:00
parent 2e16d7c02c
commit aba4c24256
3 changed files with 5 additions and 6 deletions

View File

@ -143,7 +143,8 @@
},
"mas": {
"entitlements": "resources/entitlements.mas.plist",
"entitlementsInherit": "resources/entitlements.mas.inherit.plist"
"entitlementsInherit": "resources/entitlements.mas.inherit.plist",
"hardenedRuntime": false
},
"nsisWeb": {
"oneClick": false,

View File

@ -8,9 +8,5 @@
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
</dict>
</plist>

View File

@ -8,9 +8,11 @@ exports.default = async function notarizing(context) {
}
const appleId = process.env.APPLEID;
const appName = context.packager.appInfo.productFilename;
const appPath = `${appOutDir}/${appName}.app`;
console.log('Notarizing ' + appPath);
return await notarize({
appBundleId: 'com.bitwarden.desktop',
appPath: `${appOutDir}/${appName}.app`,
appPath: appPath,
appleId: appleId,
appleIdPassword: `@keychain:AC_PASSWORD`,
});