From 128cf603e7d5ba4f299ea176cbe9772e6ec114b4 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 21 Jun 2026 19:38:19 +0100 Subject: [PATCH] Enhance Mac installer progress logging by adding console output for better debugging and clarity during installation phases. --- public/appupdate.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/appupdate.js b/public/appupdate.js index d2b0ec3..68e3564 100644 --- a/public/appupdate.js +++ b/public/appupdate.js @@ -179,6 +179,8 @@ const parseMacInstallerProgress = (output) => { let percent = null let message = 'Installing update...' + console.log('[app-update] installer output:', output) + for (const line of lines) { if (line.startsWith('installer:PHASE:')) { message = line.slice('installer:PHASE:'.length).trim() || message @@ -293,6 +295,7 @@ const launchMacInstaller = (app, installerPath, webContents) => { } const { percent, message } = parseMacInstallerProgress(output) + sendProgress(webContents, { phase: 'installing', percent: percent ?? 100,