From 1008853c3e6a2f2df150ea8fdbf04781c51294e2 Mon Sep 17 00:00:00 2001 From: Urook Date: Tue, 3 Oct 2023 14:25:30 +0300 Subject: [PATCH] revert to new creds and better node imports --- afterSignHook.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/afterSignHook.js b/afterSignHook.js index 5e36a27..6b47a13 100644 --- a/afterSignHook.js +++ b/afterSignHook.js @@ -1,7 +1,7 @@ // See: https://medium.com/@TwitterArchiveEraser/notarize-electron-apps-7a5f988406db -const fs = require('fs'); -const path = require('path'); +const fs = require('node:fs'); +const path = require('node:path'); const electronNotarize = require('@electron/notarize'); module.exports = async function (params) { @@ -30,8 +30,8 @@ module.exports = async function (params) { try { await electronNotarize.notarize({ appPath, - appleId: process.env.appleId, - appleIdPassword: process.env.appleIdPassword, + appleId: process.env.APPLE_DEV_USER, + appleIdPassword: process.env.APPLE_DEV_PASSWORD, teamId: process.env.appleTeamId, tool });