Skip to content

Commit

Permalink
fix(ci): use right command
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jan 19, 2025
1 parent e7152d1 commit f8bbbbd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/sign-windows.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const child_process = require("child_process");
const SIGN_EXECUTABLE = "C:\\ev_signer_trilium\\ev_signer_trilium.exe";

module.exports = function (filePath) {
console.log(`Path to file to sign: ${filePath}`);
child_process.execSync(`${SIGN_EXECUTABLE} "${filePath}"`);
const command = `${SIGN_EXECUTABLE} --executable "${filePath}"`;
console.log(`> ${command}`);
child_process.execSync(command);
}

0 comments on commit f8bbbbd

Please sign in to comment.