This commit is contained in:
rustdesk 2023-07-03 16:43:39 +08:00
parent 86a2ace904
commit 82219775e3
3 changed files with 3 additions and 3 deletions

View File

@ -319,7 +319,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
"Status", "Status",
"There is a newer version of ${bind.mainGetAppNameSync()} ${bind.mainGetNewVersion()} available.", "There is a newer version of ${bind.mainGetAppNameSync()} ${bind.mainGetNewVersion()} available.",
"Click to download", () async { "Click to download", () async {
final Uri url = Uri.parse('https://rustdesk.com'); final Uri url = Uri.parse('https://rustdesk.com/download');
await launchUrl(url); await launchUrl(url);
}); });
} }

View File

@ -94,7 +94,7 @@ class _ConnectionPageState extends State<ConnectionPage> {
? const SizedBox(height: 0) ? const SizedBox(height: 0)
: InkWell( : InkWell(
onTap: () async { onTap: () async {
final url = '$_updateUrl.apk'; final url = 'https://rustdesk.com/download';
if (await canLaunchUrl(Uri.parse(url))) { if (await canLaunchUrl(Uri.parse(url))) {
await launchUrl(Uri.parse(url)); await launchUrl(Uri.parse(url));
} }

View File

@ -659,7 +659,7 @@ class UpdateMe: Reactor.Component {
} }
event click $(#install-me) { event click $(#install-me) {
handler.open_url("https://rustdesk.com"); handler.open_url("https://rustdesk.com/download");
return; return;
if (!is_win) { if (!is_win) {
handler.open_url("https://rustdesk.com"); handler.open_url("https://rustdesk.com");