rustdesk
2025-07-30 21:05:46 +08:00
parent d55b98b187
commit 7ece7e730a
47 changed files with 1 additions and 93 deletions

View File

@@ -434,7 +434,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
!isCardClosed &&
bind.mainUriPrefixSync().contains('rustdesk')) {
final isToUpdate = (isWindows || isMacOS) && bind.mainIsInstalled();
String btnText = isToUpdate ? 'Click to update' : 'Click to download';
String btnText = isToUpdate ? 'Update' : "Download';
GestureTapCallback onPressed = () async {
final Uri url = Uri.parse('https://rustdesk.com/download');
await launchUrl(url);