Merge branch 'feature/nx_monorepo' of https://github.com/TriliumNext/Notes into feature/nx_monorepo

This commit is contained in:
Elian Doran 2025-05-01 20:47:04 +03:00
commit d48face40f
No known key found for this signature in database

View File

@ -9,6 +9,11 @@ function sign(sourcePath) {
return;
}
if (path.extname(sourcePath) !== ".exe") {
console.warn("[Sign] Unsupported extension for signing: ", sourcePath);
return;
}
try {
const command = `${WINDOWS_SIGN_EXECUTABLE} --executable "${sourcePath}"`;
console.log(`[Sign] ${command}`);
@ -16,7 +21,6 @@ function sign(sourcePath) {
} catch (e) {
console.error("[Sign] Got error while signing " + e.output.toString("utf-8"));
printSigningErrorLogs();
process.exit(2);
}
}