[MM-19963] set working directory on start (#1105)
* [MM-19963] set current working directory for the app * prevent failing if env variables are not setup * [MM-19963] cwd if not in dev mode and only if necessary, log it if it happens * fix remove path if no cert is present * address CR suggestions
This commit is contained in:
@@ -14,7 +14,10 @@ exports.default = async function notarizing(context) {
|
||||
}
|
||||
|
||||
const appName = context.packager.appInfo.productFilename;
|
||||
|
||||
if (typeof process.env.APPLEID === 'undefined') {
|
||||
console.log('skipping notarization, remember to setup environment variables for APPLEID and APPLEIDPASS if you want to notarize');
|
||||
return;
|
||||
}
|
||||
await notarize({
|
||||
|
||||
// should we change it to appBundleId: 'com.mattermost.desktop',
|
||||
|
Reference in New Issue
Block a user