mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-30 09:01:30 +08:00
chore(sign): change log format
This commit is contained in:
parent
18fff2823c
commit
ebab12dcc2
@ -15,10 +15,10 @@ function sign(sourcePath) {
|
||||
|
||||
try {
|
||||
const command = `${WINDOWS_SIGN_EXECUTABLE} --executable "${sourcePath}"`;
|
||||
console.log(`[Sign] ${command}`);
|
||||
child_process.execSync(command);
|
||||
console.log(`[Sign] ${command}: SUCCESS`);
|
||||
} catch (e) {
|
||||
console.error("[Sign] Got error while signing " + e.output.toString("utf-8"));
|
||||
console.error(`[Sign] ${command}: FAILED: `, e.output.toString("utf-8"));
|
||||
printSigningErrorLogs();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user