Files
rustdesk/flutter/lib/desktop
fufesou 304e60492d fix(windows): show an installation tip for a missing service (#16948)
* fix(windows): show an installation tip for a missing service

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix(windows): preserve service state during recovery

Restore the saved stop-service option after installation errors and initialize the Windows Flutter service state before its first render.

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix(sciter): prioritize Windows recovery over download prompts

Show one Windows card in this order: upgrade the installed copy, install its missing service, then download a new version.

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix(flutter): read service recovery state synchronously

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix(flutter): prioritize service recovery over update prompts

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix(flutter): prioritize local installation over online updates

Offer the running version before an online update when the installed copy is older, even if its Windows service is registered.

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix(flutter): keep service recovery visible with hidden help cards

Allow missing-service recovery when the installed-copy upgrade card is hidden, while preserving visible upgrade priority.

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix(windows): simplify service recovery priority

Show the missing-service Install action before update or upgrade cards in Flutter and Sciter. Preserve the original card order when service recovery is not needed.

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix(windows): suppress recovery prompts during service installation

Suppress the missing-service prompt while an installation is active. Close Flutter sub-windows before service recovery, remove the redundant Windows error check, and qualify the service error type.

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix(windows): keep service recovery tied to registration

Remove the installation-in-progress shortcut from the service probe. Flutter does not rebuild when the flag clears, which could leave the recovery action hidden after a cancelled or failed attempt. Keep the native guard against overlapping installations.

Signed-off-by: fufesou <linlong1266@gmail.com>

---------

Signed-off-by: fufesou <linlong1266@gmail.com>
2026-11-20 12:22:59 +08:00
..
2025-07-01 13:12:55 +08:00