Skip to content

Commit

Permalink
chore: lint fix after sign hook js
Browse files Browse the repository at this point in the history
  • Loading branch information
agalwood committed Apr 26, 2023
1 parent 33f13b5 commit 61365d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/afterSignHook.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require('dotenv').config()
const { join } = require('path');
const { join } = require('path')
const { notarize } = require('@electron/notarize')
const { appId } = require('../electron-builder.json')

Expand All @@ -17,7 +17,7 @@ exports.default = async function (context) {

const appBundleId = appId
const appName = context.packager.appInfo.productFilename
const appPath = join(appOutDir, `${appName}.app`);
const appPath = join(appOutDir, `${appName}.app`)

try {
await notarize({
Expand All @@ -27,8 +27,8 @@ exports.default = async function (context) {
appleIdPassword: process.env.APPLE_ID_PASSWORD
})
} catch (error) {
console.error(error);
console.error(error)
}

console.log(`Done notarizing ${appId}`);
console.log(`Done notarizing ${appId}`)
}

0 comments on commit 61365d7

Please sign in to comment.