Files
DeepTutor/apps/desktop/scripts
马修权 3a8efc7f46 fix(desktop): restore Windows bounds on the display with the most overlap (#2969)
* fix(desktop): restore Windows bounds on the display with the most overlap

* fix(desktop): retry transient macOS DMG creation failures

Retry hdiutil Resource busy failures with bounded backoff and remove partial images before retrying. Preserve immediate failure for permanent errors and cover retries, cleanup, and child-process diagnostics with regression tests.

* fix(desktop): harden Windows window state persistence and recovery

Flush pending window state on minimized or fullscreen exit, retain deferred display clamping across native transitions, and validate maximized state strictly.

Preserve maximization when a saved display is unavailable and add real Electron lifecycle and cold-start regression tests with documented hardware verification limits.

* test(desktop): initialize Electron before Windows tests

---------

Co-authored-by: Codex <codex@openai.com>
2026-12-02 18:11:53 +08:00
..