shell/install/rustdesk

21 lines
564 B
Plaintext
Raw Normal View History

2022-02-01 07:17:17 +00:00
#!/bin/bash
2022-07-05 02:52:27 +00:00
##makedesc: Install rustdesk client v1.1.9 (deb)
2022-07-05 02:52:27 +00:00
[ $1 ] && RDVER="$1" || RDVER="1.1.9"
2022-02-01 07:17:17 +00:00
echo
echo "==============================================="
2023-03-10 05:55:26 +00:00
echo "Installing rustdesk v$RDVER..."
2022-02-01 07:17:17 +00:00
echo "==============================================="
echo
# https://github.com/rustdesk/rustdesk
2023-03-10 05:55:26 +00:00
deb_path="$HOME/install"
deb_name="rustdesk-$RDVER.deb"
2022-11-03 14:49:31 +00:00
mkdir -p $deb_path
deb="$deb_path/$deb_name"
2023-03-10 05:55:26 +00:00
sudo apt install -y libxdo3 python3-pip && \
wget "https://github.com/rustdesk/rustdesk/releases/download/$RDVER/$deb_name" -O $deb && \
2022-11-03 14:49:31 +00:00
sudo dpkg -i $deb