mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
chore(nx/forge): add error logging for windows signing
This commit is contained in:
parent
317d95fd60
commit
2ccbc100ec
@ -15,6 +15,9 @@ module.exports = function (filePath) {
|
||||
const command = `${WINDOWS_SIGN_EXECUTABLE} --executable "${filePath}"`;
|
||||
console.log(`[Sign] ${command}`);
|
||||
|
||||
const output = child_process.execSync(command);
|
||||
console.log(`[Sign] ${output}`);
|
||||
try {
|
||||
child_process.execSync(command);
|
||||
} catch (e) {
|
||||
console.error("[Sign]", e.output.toString("utf-8"));
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user