1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 05:53:42 +00:00

More logging.

This commit is contained in:
Todd Martin
2025-01-14 21:41:17 -05:00
parent 043b6b7776
commit 5a4b796876

View File

@@ -1,5 +1,7 @@
/* eslint-disable @typescript-eslint/no-require-imports, no-console */
const { Platform } = require("electron-builder");
const path = require("path");
const fse = require("fs-extra");
@@ -11,7 +13,11 @@ async function run(context) {
const platform = context.packager.platform;
const targets = context.packager.targetNames;
const isSnap = platform === "linux" && targets.includes("snap");
console.log("### Platform: " + platform);
console.log("### Targets: " + targets);
const isSnap = platform === Platform.LINUX && targets.includes("snap");
if (isSnap) {
console.log("### Copying polkit policy file");