debug: Add startup mode logging
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -481,6 +481,12 @@ app.whenReady().then(async () => {
|
|||||||
const uiConfig = appConfig?.ui || {};
|
const uiConfig = appConfig?.ui || {};
|
||||||
const launchBrowser = uiConfig.launchBrowser === true;
|
const launchBrowser = uiConfig.launchBrowser === true;
|
||||||
|
|
||||||
|
console.log("=== Startup Mode Check ===");
|
||||||
|
console.log("uiConfig:", JSON.stringify(uiConfig));
|
||||||
|
console.log("launchBrowser:", launchBrowser);
|
||||||
|
console.log("backendConfig.embedded:", backendConfig.embedded);
|
||||||
|
console.log("Will use browser mode:", launchBrowser && backendConfig.embedded);
|
||||||
|
|
||||||
// Browser-only mode: start backend and open browser, no Electron UI
|
// Browser-only mode: start backend and open browser, no Electron UI
|
||||||
if (launchBrowser && backendConfig.embedded) {
|
if (launchBrowser && backendConfig.embedded) {
|
||||||
console.log("=== Browser-Only Mode ===");
|
console.log("=== Browser-Only Mode ===");
|
||||||
|
|||||||
Reference in New Issue
Block a user