mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
## 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:
@@ -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);
|
||||
|
||||
|
||||
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user