From 6a8372c7934a1c71ffbf1c1959e53c8a4e7ea112 Mon Sep 17 00:00:00 2001 From: Pedram Amini Date: Sun, 28 Dec 2025 09:48:23 -0600 Subject: [PATCH] =?UTF-8?q?##=20CHANGES=20-=20Made=20bootstrap=20store=20u?= =?UTF-8?q?se=20explicit=20userData=20path=20for=20reliability=20?= =?UTF-8?q?=F0=9F=A7=AD=20-=20Aligned=20crash-reporting=20settings=20stora?= =?UTF-8?q?ge=20path=20with=20main=20sync=20settings=20=F0=9F=9B=A1?= =?UTF-8?q?=EF=B8=8F=20-=20Refined=20LIVE/OFFLINE=20badge=20display=20thre?= =?UTF-8?q?sholds=20based=20on=20AutoRun=20badge=20level=20=F0=9F=8F=B7?= =?UTF-8?q?=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/index.ts | 2 ++ src/renderer/components/SessionList.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts index 50fe18c8..7740a932 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -59,6 +59,7 @@ if (isDevelopment && !DEMO_MODE && !process.env.USE_PROD_DATA) { // ============================================================================ const bootstrapStore = new Store({ name: 'maestro-bootstrap', + cwd: app.getPath('userData'), // Explicit path after dev mode adjustment defaults: {}, }); @@ -95,6 +96,7 @@ const syncPath = getSyncPath() || app.getPath('userData'); // Check if crash reporting is enabled (default: true for opt-out behavior) const crashReportingStore = new Store<{ crashReportingEnabled: boolean }>({ name: 'maestro-settings', + cwd: syncPath, // Use same path as main settings store }); const crashReportingEnabled = crashReportingStore.get('crashReportingEnabled', true); diff --git a/src/renderer/components/SessionList.tsx b/src/renderer/components/SessionList.tsx index 8e57fed3..ff889469 100644 --- a/src/renderer/components/SessionList.tsx +++ b/src/renderer/components/SessionList.tsx @@ -1356,7 +1356,7 @@ function SessionListInner(props: SessionListProps) { title={isLiveMode ? "Web interface active - Click to show URL" : "Click to enable web interface"} > - {leftSidebarWidthState >= (isLiveMode ? 280 : 310) && (isLiveMode ? 'LIVE' : 'OFFLINE')} + {leftSidebarWidthState >= (autoRunStats && autoRunStats.currentBadgeLevel > 0 ? 295 : 256) && (isLiveMode ? 'LIVE' : 'OFFLINE')} {/* LIVE Overlay with URL and QR Code - Single QR with pill selector */}