Page 1 of 1

RustDesk: Create the update package

Published: September 16, 2024 - 4:49 PM
by jlatieule
Hello,


To make progress on the tis-rustdesk package, I'd like to add an update package.

I tried using curl on https://github.com/rustdesk/rustdesk/releases/latest , but there's a 302 redirect.
Currently, it redirects to https://github.com/rustdesk/rustdesk/releases/tag/1.3.0 , where 1.3.0 is the latest production version.

I don't know how to parse the HTML code of a page with a redirect using Python.
Then, I planned to retrieve the link using the unique string "-x86_64.exe". By tracing what's between the quotation marks, I obtained the download link: https://github.com/rustdesk/rustdesk/re ... x86_64.exe.

The update package allows me to deploy clients with our own configuration.