change download page to https://rustdesk.com/download
This commit is contained in:
parent
86a2ace904
commit
82219775e3
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -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));
|
||||||
}
|
}
|
||||||
|
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user