From 7c21c616b11f4acda23b4d195d64ae61173e883e Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Mon, 27 Apr 2026 13:22:57 +0200 Subject: [PATCH] docs(desktop): note Windows startMinimized disk fallback when no entry exists --- docs/systems/desktop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/systems/desktop.md b/docs/systems/desktop.md index 398b86fa..aa6928be 100644 --- a/docs/systems/desktop.md +++ b/docs/systems/desktop.md @@ -110,7 +110,7 @@ interface AutoLaunchSettings { ### Source of Truth The OS is the source of truth for `openAtLogin` on all platforms. Disk is used only to recover values Electron does not expose: -- **Windows:** OS-authoritative for both `openAtLogin` (via `executableWillLaunchAtLogin`, which honours Task Manager's `StartupApproved\Run` disable) and `startMinimized` (derived from `launchItems[].args`). +- **Windows:** OS-authoritative for `openAtLogin` (via `executableWillLaunchAtLogin`, which honours Task Manager's `StartupApproved\Run` disable). For `startMinimized`: derived from `launchItems[].args` when an entry exists; falls back to the disk cache when no entry exists, so the user's preference survives an off/on cycle. - **macOS:** OS-authoritative for `openAtLogin`. Disk-cached for `startMinimized` (no introspection available). - **Linux:** OS-authoritative for `openAtLogin`. Disk-cached for `startMinimized` (we deliberately do not parse `Exec=` lines from `.desktop` files; out-of-band edits are rare and parsing shell-quoted strings is fragile).