1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-16 02:27:00 +02:00

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": { "mas": {
"entitlements": "resources/entitlements.mas.plist", "entitlements": "resources/entitlements.mas.plist",
"entitlementsInherit": "resources/entitlements.mas.inherit.plist" "entitlementsInherit": "resources/entitlements.mas.inherit.plist",
"hardenedRuntime": false
}, },
"nsisWeb": { "nsisWeb": {
"oneClick": false, "oneClick": false,

View File

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

View File

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