feat: add file logging toggle and logout confirmation

File logging defaulted to always-on meant the log grew silently on every
run with no way to turn it off. Changing the default to error-only and
exposing the toggle in Settings lets users opt in only when debugging.

The logout button previously triggered immediately without warning, making
accidental logouts unrecoverable without re-running the device code flow.
A confirmation step (Ja/Nein, gamepad-navigable) prevents that.
This commit is contained in:
Andre
2026-05-15 10:15:30 +02:00
parent a5eaafbed3
commit c7bc1a23c0
9 changed files with 134 additions and 17 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import { getHlsCacheEnabled } from './prefs/hlsCachePref'
import log from 'electron-log/main'
log.initialize()
log.transports.file.level = 'info'
log.transports.file.level = 'error'
log.transports.console.level = 'debug'
const isDev = !app.isPackaged