No description
Find a file
2025-01-18 12:10:10 +00:00
base Update base/build 2025-01-18 12:10:10 +00:00
firefox Update dockerfile syntax 2024-07-25 01:33:49 +00:00
i3 Update dockerfile syntax 2024-07-25 01:33:49 +00:00
plasma Update plasma webtop 2024-07-25 01:26:27 +00:00
build Optimized root ./build 2024-07-25 01:31:08 +00:00
README.md Update README.md 2024-07-25 04:47:19 +00:00

Updating noVNC

# Optional: cd into temporary directory

cd $(mktemp -d)

# Fetch noVNC latest tag

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=$(wget -q4O- https://api.github.com/repos/novnc/websockify/releases/latest |\
    grep tag_name |\
    sed -e 's/^[ \t]*"tag_name": "//' -e 's/",$//')

# Download releases

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

for tar in $(ls ./*.tar.gz)
do
    tar xf ./${tar}
    rm ./${tar}
done

# Unify packages

mv ./noVNC-* ./novnc
mv ./websockify-* ./novnc/utils/websockify
find ./novnc -type f -name ".gitignore" -delete