mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove unused build/notarize.js
- File is not referenced anywhere in the repo - Allows us to set "allowJs" to `false` in the `tsconfig.json` which reduces the random errors when opening that file in vscode - Also remove the electron-notarize package as no longer used anywhere Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
14425fb14e
commit
6664215e36
4 files changed
+1
-30
No files matched your search
@@ -1,20 +0,0 @@
|
||||
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: 'io.kontena.lens-app',
|
||||
appPath: `${appOutDir}/${appName}.app`,
|
||||
appleId: process.env.APPLEID,
|
||||
appleIdPassword: process.env.APPLEIDPASS,
|
||||
});
|
||||
};
|
||||
Reference in new issue
Block a user