mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02: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);
|
|
} |