Update update.sh
This commit is contained in:
parent
a70cd79e36
commit
cce8bbbbee
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get username
|
||||
uname=$(whoami) # not used btw ... yet
|
||||
usern=$(whoami) # not used btw ... yet
|
||||
|
||||
# Get current release version
|
||||
RDLATEST=$(curl https://api.github.com/repos/rustdesk/rustdesk-server-pro/releases/latest -s | grep "tag_name"| awk '{print substr($2, 2, length($2)-3) }' | sed 's/-.*//')
|
||||
|
Loading…
x
Reference in New Issue
Block a user