Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Mar 7, 2020
1 parent c3099ef commit b3d530a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions scripts/notarize.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
require('dotenv').config();
const { notarize } = require('electron-notarize');
require('dotenv').config()
const { notarize } = require('electron-notarize')

exports.default = async function notarizing(context) {
const { electronPlatformName, appOutDir } = context;
module.exports = context => {
const { electronPlatformName, appOutDir } = context
if (electronPlatformName !== 'darwin') {
return;
return
}

const appName = context.packager.appInfo.productFilename;
const appName = context.packager.appInfo.productFilename

return await notarize({
return notarize({
appBundleId: 'sh.egoist.devdocs',
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLEID,
appleIdPassword: process.env.APPLEIDPASS,
});
};
appleIdPassword: process.env.APPLEIDPASS
})
}

0 comments on commit b3d530a

Please sign in to comment.