1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 22:13:32 +00:00

feat: add missing safari extension logging

This commit is contained in:
Andreas Coroiu
2024-07-03 16:43:41 +02:00
parent 44a010c612
commit 02acb72335

View File

@@ -37,7 +37,9 @@ async function run(context) {
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)) {
if (!fse.existsSync(plugIn)) {
console.log("### Safari extension not found - skipping");
} else {
fse.mkdirSync(path.join(appPath, "Contents/PlugIns"));
fse.copySync(
path.join(plugIn, "safari.appex"),