mirror of https://github.com/TriliumNext/Notes
feat(ci): set up signing hook
parent
ad0f844681
commit
40f4fdab47
@ -0,0 +1,8 @@
|
|||||||
|
const child_process = require("child_process");
|
||||||
|
const SIGN_EXECUTABLE = "C:\\ev_signer_trilium\\ev_signer_trilium.exe";
|
||||||
|
|
||||||
|
module.exports = function (filePath) {
|
||||||
|
const command = `${SIGN_EXECUTABLE} --executable "${filePath}"`;
|
||||||
|
console.log(`> ${command}`);
|
||||||
|
child_process.execSync(command);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue