mirror of
https://github.com/bitwarden/browser
synced 2026-02-24 16:43:27 +00:00
Test
This commit is contained in:
@@ -3,7 +3,7 @@ const child_process = require("child_process");
|
||||
|
||||
exports.default = async function (configuration) {
|
||||
const ext = configuration.path.split(".").at(-1);
|
||||
if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 && ["exe"].includes(ext)) {
|
||||
if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 && ["exe", "dll", "node"].includes(ext)) {
|
||||
console.log(`[*] Signing file: ${configuration.path}`);
|
||||
child_process.execFileSync(
|
||||
"azuresigntool",
|
||||
@@ -25,7 +25,10 @@ exports.default = async function (configuration) {
|
||||
stdio: "inherit",
|
||||
},
|
||||
);
|
||||
} else if (process.env.ELECTRON_BUILDER_SIGN_CERT && ["exe", "appx"].includes(ext)) {
|
||||
} else if (
|
||||
process.env.ELECTRON_BUILDER_SIGN_CERT &&
|
||||
["exe", "dll", "node", "appx"].includes(ext)
|
||||
) {
|
||||
console.log(`[*] Signing file: ${configuration.path}`);
|
||||
if (process.platform !== "win32") {
|
||||
console.warn(
|
||||
|
||||
Reference in New Issue
Block a user