We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f7b42d commit b2f8b00Copy full SHA for b2f8b00
bin/electron-forge/sign-windows.cjs
@@ -1,14 +1,20 @@
1
const child_process = require("child_process");
2
+const fs = require("fs");
3
4
module.exports = function (filePath) {
5
const { WINDOWS_SIGN_EXECUTABLE } = process.env;
6
7
+ const stats = fs.lstatSync(filePath);
8
+ console.log(filePath, stats);
9
+
10
if (!WINDOWS_SIGN_EXECUTABLE) {
11
console.warn("[Sign] Skip signing due to missing environment variable.");
12
return;
13
}
14
15
const command = `${WINDOWS_SIGN_EXECUTABLE} --executable "${filePath}"`;
16
console.log(`[Sign] ${command}`);
- child_process.execSync(command);
17
18
+ const output = child_process.execSync(command);
19
+ console.log(`[Sign] ${output}`);
20
0 commit comments