1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

move appName appPath up

This commit is contained in:
Kyle Spearrin
2020-09-22 17:02:33 -04:00
parent c5250adf53
commit a565925b8f
2 changed files with 5 additions and 2 deletions

View File

@@ -7,12 +7,12 @@ async function run(context) {
console.log('## After sign');
// console.log(context);
const appName = context.packager.appInfo.productFilename;
const appPath = `${context.appOutDir}/${appName}.app`;
const macBuild = context.electronPlatformName === 'darwin';
if (macBuild) {
console.log('### Notarizing ' + appPath);
const appName = context.packager.appInfo.productFilename;
const appPath = `${context.appOutDir}/${appName}.app`;
const appleId = process.env.APPLE_ID_USERNAME || process.env.APPLEID;
const appleIdPassword = process.env.APPLE_ID_PASSWORD || `@keychain:AC_PASSWORD`;
return await notarize({