Skip to content

Build your personal knowledge base with Trilium Notes

chore(nx/forge): display content for debugging

Elian Doran9bf1e7b0b62e
diff --git a/apps/desktop/electron-forge/sign-windows.cjs b/apps/desktop/electron-forge/sign-windows.cjs
index 8bd9897007..68b1c354e4 100644
--- a/apps/desktop/electron-forge/sign-windows.cjs
+++ b/apps/desktop/electron-forge/sign-windows.cjs
@@ -13,6 +13,8 @@ module.exports = function (filePath) {
console.log(filePath, fs.realpathSync(filePath));
filePath = fs.realpathSync(filePath);
+ console.log(fs.readFileSync(filePath).subarray(0, 100));
+
const command = `${WINDOWS_SIGN_EXECUTABLE} --executable "${filePath}"`;
console.log(`[Sign] ${command}`);