Suggestion: Bypass rustdesk's weird updating strategy #149
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current behaviour
Any updating attempts will first call do_check_software_update which sends info like id, device uuid, current version, and platform name towards an endpoint under
rustdesk.comand obtains a plain update URL. This function then parses the URL, that obtained from responded Json body, to determine if a newer release is available - why don't they just attach a version alongside, or return empty string if already newest.Also, there is another function is_custom_client that simply returns false if app name is not
RustDeskand all update checks; including manually, automatically, and even the config items; will be skipped.Thus, if a custom build changes app name, then it cannot get updated automatically; and if not, the app will update to the official version - two versions exist at the same time actually, but only the official one will start on boot.
Proposal