From 86b6d8f8367e505a1efcb92e9291a3e7b224ccd8 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Mon, 1 Jul 2024 11:53:04 +0200 Subject: [PATCH] chore: add some logging to after-sign --- apps/desktop/scripts/after-sign.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/desktop/scripts/after-sign.js b/apps/desktop/scripts/after-sign.js index 6e6045efcb3..6b374d5fe5e 100644 --- a/apps/desktop/scripts/after-sign.js +++ b/apps/desktop/scripts/after-sign.js @@ -20,8 +20,9 @@ async function run(context) { let shouldResign = false; - // cannot use extraFiles instead + // cannot use extraFiles because it modifies the extensions .plist and makes it invalid if (copyAutofillExtension) { + console.log("### Copying autofill extension"); const extensionPath = path.join(__dirname, "../macos/build/Release/autofill-extension.appex"); if (fse.existsSync(extensionPath)) { fse.mkdirSync(path.join(appPath, "Contents/PlugIns")); @@ -31,6 +32,7 @@ async function run(context) { } if (copySafariExtension) { + console.log("### Copying safari extension"); // Copy Safari plugin to work-around https://github.com/electron-userland/electron-builder/issues/5552 const plugIn = path.join(__dirname, "../PlugIns"); if (fse.existsSync(plugIn)) {