From 9bf1e7b0b62e905f69919043b5b4451ebb41cff3 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 28 Apr 2025 20:38:22 +0300 Subject: [PATCH] chore(nx/forge): display content for debugging --- apps/desktop/electron-forge/sign-windows.cjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/desktop/electron-forge/sign-windows.cjs b/apps/desktop/electron-forge/sign-windows.cjs index 8bd989700..68b1c354e 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}`);