mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-05 23:53:21 +00:00
Upgrade electron & friends (v18.3.15 ⮕ v28.2.0) (#418)
* Update versions in package.json * Rebuild package-lock.json fix * Update electron-log usage * Change necessary logic to get the newest version of the package working * Wrap up `init()` logic in a way that has parity with Bitwarden Desktop Updates for electron-log fix * Update notarize script to match the latest @electron/notarize version Update notarize step to look more like clients
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
require("dotenv").config();
|
||||
const { notarize } = require("electron-notarize");
|
||||
const { notarize } = require("@electron/notarize");
|
||||
|
||||
exports.default = async function notarizing(context) {
|
||||
const { electronPlatformName, appOutDir } = context;
|
||||
@@ -11,8 +11,10 @@ exports.default = async function notarizing(context) {
|
||||
const appleIdPassword = process.env.APPLE_ID_PASSWORD || `@keychain:AC_PASSWORD`;
|
||||
const appName = context.packager.appInfo.productFilename;
|
||||
return await notarize({
|
||||
tool: "notarytool",
|
||||
appBundleId: "com.bitwarden.directory-connector",
|
||||
appPath: `${appOutDir}/${appName}.app`,
|
||||
teamId: "LTZ2PFU5D6",
|
||||
appleId: appleId,
|
||||
appleIdPassword: appleIdPassword,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user