mirror of https://github.com/vector-im/riot-web
remove random spaces
parent
ff70339aad
commit
bad97db302
|
@ -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`,
|
||||||
|
|
Loading…
Reference in New Issue