1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 06:23:38 +00:00

chore: add some logging to after-sign

This commit is contained in:
Andreas Coroiu
2024-07-01 11:53:04 +02:00
parent 83371cd35d
commit 86b6d8f836

View File

@@ -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)) {