fix(update): revert check (#14424)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2026-02-28 18:17:26 +08:00 committed by GitHub
commit 1833cb0655
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3938,9 +3938,7 @@ void earlyAssert() {
void checkUpdate() {
if (!isWeb) {
final isWindowsInstalled = isWindows && bind.mainIsInstalled();
final shouldCheckUpdate = isWindowsInstalled || !bind.isCustomClient();
if (shouldCheckUpdate) {
if (!bind.isCustomClient()) {
platformFFI.registerEventHandler(
kCheckSoftwareUpdateFinish, kCheckSoftwareUpdateFinish,
(Map<String, dynamic> evt) async {