From 82219775e3ebc63e6d71cb5da961110aae9326de Mon Sep 17 00:00:00 2001 From: rustdesk Date: Mon, 3 Jul 2023 16:43:39 +0800 Subject: [PATCH] change download page to https://rustdesk.com/download --- flutter/lib/desktop/pages/desktop_home_page.dart | 2 +- flutter/lib/mobile/pages/connection_page.dart | 2 +- src/ui/index.tis | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flutter/lib/desktop/pages/desktop_home_page.dart b/flutter/lib/desktop/pages/desktop_home_page.dart index e074f7598..5b03b39ef 100644 --- a/flutter/lib/desktop/pages/desktop_home_page.dart +++ b/flutter/lib/desktop/pages/desktop_home_page.dart @@ -319,7 +319,7 @@ class _DesktopHomePageState extends State "Status", "There is a newer version of ${bind.mainGetAppNameSync()} ${bind.mainGetNewVersion()} available.", "Click to download", () async { - final Uri url = Uri.parse('https://rustdesk.com'); + final Uri url = Uri.parse('https://rustdesk.com/download'); await launchUrl(url); }); } diff --git a/flutter/lib/mobile/pages/connection_page.dart b/flutter/lib/mobile/pages/connection_page.dart index 3f8fdd32e..2118b2b2f 100644 --- a/flutter/lib/mobile/pages/connection_page.dart +++ b/flutter/lib/mobile/pages/connection_page.dart @@ -94,7 +94,7 @@ class _ConnectionPageState extends State { ? const SizedBox(height: 0) : InkWell( onTap: () async { - final url = '$_updateUrl.apk'; + final url = 'https://rustdesk.com/download'; if (await canLaunchUrl(Uri.parse(url))) { await launchUrl(Uri.parse(url)); } diff --git a/src/ui/index.tis b/src/ui/index.tis index ecbf3ceac..2d8eba498 100644 --- a/src/ui/index.tis +++ b/src/ui/index.tis @@ -659,7 +659,7 @@ class UpdateMe: Reactor.Component { } event click $(#install-me) { - handler.open_url("https://rustdesk.com"); + handler.open_url("https://rustdesk.com/download"); return; if (!is_win) { handler.open_url("https://rustdesk.com");