Skip to content

Commit

Permalink
Added more logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
trmartin4 committed Jan 15, 2025
1 parent 88d9c6b commit 043b6b7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/desktop/scripts/before-pack.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
/* eslint-disable @typescript-eslint/no-require-imports, no-console */
const fse = require("fs-extra");

const path = require("path");

const fse = require("fs-extra");

exports.default = run;

async function run(context) {
console.log("## Before pack");

const platform = context.packager.platform;
const targets = context.packager.targetNames;
const isSnap = platform === "linux" && targets.includes("snap");
Expand All @@ -23,5 +27,7 @@ async function run(context) {
} else {
console.log("### Policy file not found - skipping");
}
} else {
console.log("### Skipping polkit policy file copy because not a snap build");
}
}

0 comments on commit 043b6b7

Please sign in to comment.