fix: Bump to ESM and update all deps (#1851)
* chore: Bump various packages * feat: Update everything to ESM * fix: building and porting js to cjs
This commit is contained in:
parent
89ee84b7e4
commit
05d32089dd
32 changed files with 5919 additions and 5879 deletions
18
resources/notarize.cjs
Normal file
18
resources/notarize.cjs
Normal file
|
@ -0,0 +1,18 @@
|
|||
require("dotenv").config();
|
||||
const { notarize } = require("electron-notarize");
|
||||
|
||||
exports.default = async function notarizing(context) {
|
||||
const { electronPlatformName, appOutDir } = context;
|
||||
if (electronPlatformName !== "darwin") {
|
||||
return;
|
||||
}
|
||||
|
||||
const appName = context.packager.appInfo.productFilename;
|
||||
|
||||
return await notarize({
|
||||
appBundleId: "com.ciderapp.cider",
|
||||
appPath: `${appOutDir}/${appName}.app`,
|
||||
appleId: process.env.APPLEID,
|
||||
appleIdPassword: process.env.APPLEIDPASS,
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue