Fix minor glitch from /app/ url on frontend.
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
const { notarize } = require('@electron/notarize');
|
||||
|
||||
exports.default = async function notarizing(context) {
|
||||
const { electronPlatformName, appOutDir } = context;
|
||||
if (electronPlatformName !== 'darwin') {
|
||||
return;
|
||||
}
|
||||
|
||||
const appName = context.packager.appInfo.productFilename;
|
||||
|
||||
if (process.env.APPLE_ID && process.env.APPLE_ID_PASS) {
|
||||
return await notarize({
|
||||
appBundleId: 'com.sidequestvr.app',
|
||||
appPath: `${appOutDir}/${appName}.app`,
|
||||
appleId: process.env.APPLE_ID,
|
||||
appleIdPassword: process.env.APPLE_ID_PASS,
|
||||
teamId: process.env.APPLE_ID_TEAM,
|
||||
ascProvider: process.env.APPLE_ID_TEAM
|
||||
});
|
||||
} else {
|
||||
console.warn('NOTICE: Did not notarize application due to missing environment variables.');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user