remove random spaces

This commit is contained in:
David Baker 2019-10-09 16:40:31 +01:00
parent ff70339aad
commit bad97db302

View File

@ -1,7 +1,7 @@
const { notarize } = require('electron-notarize'); const { notarize } = require('electron-notarize');
exports.default = async function(context) { exports.default = async function(context) {
const { electronPlatformName, appOutDir } = context; const { electronPlatformName, appOutDir } = context;
if (electronPlatformName !== 'darwin') { if (electronPlatformName !== 'darwin') {
return; return;
} }
@ -13,9 +13,9 @@ exports.default = async function(context) {
if (userId === undefined) { if (userId === undefined) {
throw new Exception("User ID not found. Set NOTARIZE_APPLE_ID."); throw new Exception("User ID not found. Set NOTARIZE_APPLE_ID.");
} }
const appName = context.packager.appInfo.productFilename; const appName = context.packager.appInfo.productFilename;
return await notarize({ return await notarize({
appBundleId: 'im.riot.app', appBundleId: 'im.riot.app',
appPath: `${appOutDir}/${appName}.app`, appPath: `${appOutDir}/${appName}.app`,