mirror of
https://git.myvelabs.com/novnc/archlinux.git
synced 2025-12-17 19:46:20 +00:00
Update README.md
This commit is contained in:
parent
07626fa7c8
commit
a2acd4a290
1 changed files with 5 additions and 4 deletions
|
|
@ -6,17 +6,17 @@ cd $(mktemp -d)
|
|||
```
|
||||
## \# Fetch noVNC latest tag
|
||||
```
|
||||
NOVNC_VERSION=$(curl --fail -s https://api.github.com/repos/novnc/noVNC/releases/latest |\
|
||||
NOVNC_VERSION=$(wget -q4O- https://api.github.com/repos/novnc/noVNC/releases/latest |\
|
||||
grep tag_name |\
|
||||
sed -e 's/^[ \t]*"tag_name": "//' -e 's/",$//')
|
||||
WEBSOCKIFY_VERSION=$(curl --fail -s https://api.github.com/repos/novnc/websockify/releases/latest |\
|
||||
WEBSOCKIFY_VERSION=$(wget -q4O- https://api.github.com/repos/novnc/websockify/releases/latest |\
|
||||
grep tag_name |\
|
||||
sed -e 's/^[ \t]*"tag_name": "//' -e 's/",$//')
|
||||
```
|
||||
## \# Download releases
|
||||
```
|
||||
curl --fail --silent --remote-name https://github.com/novnc/noVNC/archive/refs/tags/${NOVNC_VERSION}.tar.gz & \
|
||||
curl --fail --silent --remote-name https://github.com/novnc/websockify/archive/refs/tags/${WEBSOCKIFY_VERSION}.tar.gz & \
|
||||
wget --quiet --inet4-only https://github.com/novnc/noVNC/archive/refs/tags/${NOVNC_VERSION}.tar.gz & \
|
||||
wget --quiet --inet4-only https://github.com/novnc/websockify/archive/refs/tags/${WEBSOCKIFY_VERSION}.tar.gz & \
|
||||
wait
|
||||
```
|
||||
## \# Untar packages
|
||||
|
|
@ -31,4 +31,5 @@ done
|
|||
```
|
||||
mv ./noVNC-* ./novnc
|
||||
mv ./websockify-* ./novnc/utils/websockify
|
||||
find ./novnc -type f -name ".gitignore" -delete
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue