## CHANGES

- Made bootstrap store use explicit userData path for reliability 🧭
- Aligned crash-reporting settings storage path with main sync settings 🛡️
- Refined LIVE/OFFLINE badge display thresholds based on AutoRun badge level 🏷️
This commit is contained in:
Pedram Amini
2025-12-28 09:48:23 -06:00
parent 07f5f2c4ec
commit 6a8372c793
2 changed files with 3 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ if (isDevelopment && !DEMO_MODE && !process.env.USE_PROD_DATA) {
// ============================================================================
const bootstrapStore = new Store<BootstrapSettings>({
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);

View File

@@ -1356,7 +1356,7 @@ function SessionListInner(props: SessionListProps) {
title={isLiveMode ? "Web interface active - Click to show URL" : "Click to enable web interface"}
>
<Radio className={`w-3 h-3 ${isLiveMode ? 'animate-pulse' : ''}`} />
{leftSidebarWidthState >= (isLiveMode ? 280 : 310) && (isLiveMode ? 'LIVE' : 'OFFLINE')}
{leftSidebarWidthState >= (autoRunStats && autoRunStats.currentBadgeLevel > 0 ? 295 : 256) && (isLiveMode ? 'LIVE' : 'OFFLINE')}
</button>
{/* LIVE Overlay with URL and QR Code - Single QR with pill selector */}