Fixed typos, defaulted MacOS update prompt to use https

This commit is contained in:
Duncan Bristow
2021-06-04 16:27:53 -07:00
parent 14d35fc923
commit 155357a7e9
3 changed files with 5 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ function createNewConnect(id, type) {
app.remote_id.value = formatId(id);
if (!id) return;
if (id == handler.get_id()) {
handler.msgbox("custom-error", "Error", "Sorry, it is yourself");
handler.msgbox("custom-error", "Error", "You cannot connect to your own computer");
return;
}
handler.set_remote_id(id);
@@ -421,7 +421,7 @@ class UpgradeMe: Reactor.Component {
var update_or_download = is_osx ? "download" : "update";
return <div .install-me>
<div>{handler.get_app_name()} Status</div>
<div>Your installation is lower version.</div>
<div>An update is available for RustDesk.</div>
<div #install-me .link style="padding-top: 1em">Click to upgrade</div>
</div>;
}
@@ -444,7 +444,7 @@ class UpdateMe: Reactor.Component {
event click $(#install-me) {
if (is_osx) {
handler.open_url("http://rustdesk.com");
handler.open_url("https://rustdesk.com");
return;
}
var url = software_update_url + '.' + handler.get_software_ext();