1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-23 03:33:28 +00:00

more fixes. everything is broken. shelving this for now.

This commit is contained in:
Jared McCannon
2025-12-12 12:33:49 -06:00
parent 7deec78ca4
commit 98260e6087
6 changed files with 84 additions and 69 deletions

View File

@@ -1,8 +1,11 @@
/* eslint-disable @typescript-eslint/no-var-requires, no-console */
/* eslint-disable no-console */
import { execSync } from "child_process";
exports.default = async function (configuration) {
if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 && configuration.path.slice(-4) == ".exe") {
export default async function (configuration) {
if (
parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 &&
configuration.path.slice(-4) === ".exe"
) {
console.log(`[*] Signing file: ${configuration.path}`);
execSync(
`azuresigntool sign ` +
@@ -20,4 +23,4 @@ exports.default = async function (configuration) {
},
);
}
};
}