mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove notarize as unused (#7215)
* Remove notarize as unused Signed-off-by: Sebastian Malton <sebastian@malton.name> * Remove electron-notarize Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
688336647d
commit
f212c90b1a
1
package-lock.json
generated
1
package-lock.json
generated
@ -32400,7 +32400,6 @@
|
|||||||
"dompurify": "^2.4.4",
|
"dompurify": "^2.4.4",
|
||||||
"electron": "^19.1.9",
|
"electron": "^19.1.9",
|
||||||
"electron-builder": "^23.6.0",
|
"electron-builder": "^23.6.0",
|
||||||
"electron-notarize": "^0.3.0",
|
|
||||||
"esbuild": "^0.17.8",
|
"esbuild": "^0.17.8",
|
||||||
"esbuild-loader": "^2.21.0",
|
"esbuild-loader": "^2.21.0",
|
||||||
"eslint": "^8.33.0",
|
"eslint": "^8.33.0",
|
||||||
|
|||||||
@ -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,
|
|
||||||
});
|
|
||||||
};
|
|
||||||
@ -268,7 +268,6 @@
|
|||||||
"dompurify": "^2.4.4",
|
"dompurify": "^2.4.4",
|
||||||
"electron": "^19.1.9",
|
"electron": "^19.1.9",
|
||||||
"electron-builder": "^23.6.0",
|
"electron-builder": "^23.6.0",
|
||||||
"electron-notarize": "^0.3.0",
|
|
||||||
"esbuild": "^0.17.8",
|
"esbuild": "^0.17.8",
|
||||||
"esbuild-loader": "^2.21.0",
|
"esbuild-loader": "^2.21.0",
|
||||||
"eslint": "^8.33.0",
|
"eslint": "^8.33.0",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user