diff --git a/electron-builder.yml b/electron-builder.yml index 3f15def3..7e3611a7 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -32,12 +32,9 @@ win: - nsis mac: - singleArchFiles: "*" target: - - target: dmg - arch: universal - - target: zip - arch: universal + - zip + - dmg category: public.app-category.developer-tools hardenedRuntime: true entitlements: ./build/entitlement.plist diff --git a/scripts/notarize.js b/scripts/notarize.js index a8624d7a..98cf61d4 100644 --- a/scripts/notarize.js +++ b/scripts/notarize.js @@ -7,7 +7,7 @@ module.exports = async function () { return; } - const appPath = path.resolve(__dirname, "../dist/production/mac-universal/Bdash.app"); + const appPath = path.resolve(__dirname, "../dist/production/mac/Bdash.app"); if (!fs.existsSync(appPath)) { throw new Error(`Cannot find application at: ${appPath}`); @@ -16,12 +16,11 @@ module.exports = async function () { console.log("afterSign: Notarizing"); await notarize({ - tool: "notarytool", appBundleId: "io.bdash", appPath: appPath, appleId: process.env.APPLE_ID, appleIdPassword: process.env.APPLE_PASSWORD, - teamId: process.env.ASC_PROVIDER, + ascProvider: process.env.ASC_PROVIDER, }); console.log("afterSign: Notarized");