feat(desktop): add daemon status dialog to built-in daemon settings

Add a "Full status" button in the desktop daemon section that runs
`paseo daemon status` via Electron IPC and displays the raw output
in a modal.

Also fixes Commander.js argv parsing when the CLI is invoked via
Electron's ELECTRON_RUN_AS_NODE — Commander auto-detects the Electron
environment and skips only 1 argv element instead of 2, causing
"unknown command" errors. Fixed by explicitly passing { from: "node" }.
This commit is contained in:
Mohamed Boudra
2026-04-03 18:49:59 +07:00
parent f924d33076
commit 4ca04fc661
5 changed files with 106 additions and 1 deletions
+1 -1
View File
@@ -4,4 +4,4 @@ const program = createCli();
if (process.argv.length <= 2) {
process.argv.push("onboard");
}
program.parse();
program.parse(process.argv, { from: "node" });