use latest websockify, allow user to change port

This commit is contained in:
ading2210 2024-01-08 01:38:41 -05:00
parent 953b6cb191
commit 7472c899db
4 changed files with 18 additions and 10 deletions

View file

@ -10,7 +10,10 @@ fi
source .venv/bin/activate
if ! python3 -c "import asyncio_socks_server, websockify" 2> /dev/null; then
pip3 install -r requirements.txt
pip3 install asyncio-socks-server
git clone https://github.com/novnc/websockify -b master --depth=1
pip3 install ./websockify
rm -rf websockify
fi
python3 main.py