mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
feat(ci): set up signing hook
This commit is contained in:
8
bin/electron-forge/sign-windows.cjs
Normal file
8
bin/electron-forge/sign-windows.cjs
Normal file
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user