Update notarization

This commit is contained in:
Nayam Amarshe
2023-09-21 12:50:37 +05:30
parent f6fd5dc7e0
commit 354d3a627e
7 changed files with 308 additions and 217 deletions

View File

@@ -1,5 +1,5 @@
require("dotenv").config();
const { notarize } = require("@electron/notarize");
const { notarize } = require("electron-notarize");
exports.default = async function notarizing(context) {
const { electronPlatformName, appOutDir } = context;
@@ -10,7 +10,7 @@ exports.default = async function notarizing(context) {
const appName = context.packager.appInfo.productFilename;
return await notarize({
appBundleId: "org.upscayl.Upscayl",
appBundleId: "io.datasette.app",
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLEID,
appleIdPassword: process.env.APPLEIDPASS,