techahold / rustdeskinstall

Easy install Script for Rustdesk
MIT License
330 stars 105 forks source link

update.sh doesn't work #70

Closed alexander-potemkin closed 3 months ago

alexander-potemkin commented 3 months ago
# update.sh
...
+ '[' -e /opt/rustdesk ']'
+ :
+ cd /opt/rustdesk/
+ echo 'Upgrading Rustdesk Server'
Upgrading Rustdesk Server
+ '[' x86_64 = x86_64 ']'
+ wget https://github.com/rustdesk/rustdesk-server/releases/download/1.1.10/rustdesk-server-linux-amd64.zip
--2024-04-05 11:55:18--  https://github.com/rustdesk/rustdesk-server/releases/download/1.1.10/rustdesk-server-linux-amd64.zip
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 11:55:19 ERROR 404: Not Found.

Valid command and or URL would be: wget https://github.com/rustdesk/rustdesk-server/releases/download/1.1.10-3/rustdesk-server-hbbr_1.1.10-3_amd64.deb

It seems like a reg-exp needs to be fixed as well as the 'template' string.

dinger1986 commented 3 months ago

do you want to PR the change?

alexander-potemkin commented 3 months ago

I wish, but not at the moment, I'm sorry.

dinger1986 commented 3 months ago

ah wait, I see why its cause they are using -3 in the release name, their release names have changed afew times, its quite frustrating!

dinger1986 commented 3 months ago

fixed now https://github.com/techahold/rustdeskinstall/commit/3f146ee7d63a8515057701cbb868501871cf5d69

alexander-potemkin commented 3 months ago

Thank you!