mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-03 18:51:27 +03:00
feat: windows, custom client, update (#13687)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -3938,7 +3938,9 @@ void earlyAssert() {
|
||||
|
||||
void checkUpdate() {
|
||||
if (!isWeb) {
|
||||
if (!bind.isCustomClient()) {
|
||||
final isWindowsInstalled = isWindows && bind.mainIsInstalled();
|
||||
final shouldCheckUpdate = isWindowsInstalled || !bind.isCustomClient();
|
||||
if (shouldCheckUpdate) {
|
||||
platformFFI.registerEventHandler(
|
||||
kCheckSoftwareUpdateFinish, kCheckSoftwareUpdateFinish,
|
||||
(Map<String, dynamic> evt) async {
|
||||
|
||||
Reference in New Issue
Block a user