diff --git a/packages/core/build/notarize.js b/packages/core/build/notarize.js deleted file mode 100644 index 0bf1903e59..0000000000 --- a/packages/core/build/notarize.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (c) OpenLens Authors. All rights reserved. - * Licensed under MIT License. See LICENSE in root directory for more information. - */ -const { notarize } = require("electron-notarize"); - -exports.default = async function notarizing(context) { - const { electronPlatformName, appOutDir } = context; - - if (electronPlatformName !== "darwin") { - return; - } - - if (!process.env.APPLEID || !process.env.APPLEIDPASS) { - return; - } - - const appName = context.packager.appInfo.productFilename; - - return await notarize({ - appBundleId: process.env.APPBUNDLEID || "io.kontena.lens-app", - appPath: `${appOutDir}/${appName}.app`, - appleId: process.env.APPLEID, - appleIdPassword: process.env.APPLEIDPASS, - ascProvider:process.env.ASCPROVIDER, - }); -};