try disbaling hardened runtime for mas
This commit is contained in:
parent
2e16d7c02c
commit
aba4c24256
|
@ -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,
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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`,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue