mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
8 lines
300 B
JavaScript
8 lines
300 B
JavaScript
|
|
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);
|
||
|
|
}
|