mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-12 22:10:01 -04:00
add python wsproxy implementation
This commit is contained in:
parent
1de7178523
commit
09ff32dcd3
6 changed files with 52 additions and 47 deletions
|
@ -9,11 +9,8 @@ if [ ! -d ".venv" ]; then
|
|||
fi
|
||||
source .venv/bin/activate
|
||||
|
||||
if ! python3 -c "import asyncio_socks_server, websockify" 2> /dev/null; then
|
||||
pip3 install asyncio-socks-server
|
||||
git clone https://github.com/novnc/websockify -b master --depth=1
|
||||
pip3 install ./websockify
|
||||
rm -rf websockify
|
||||
if ! python3 -c "import websockets" 2> /dev/null; then
|
||||
pip3 install -r requirements.txt
|
||||
fi
|
||||
|
||||
python3 main.py
|
Loading…
Add table
Add a link
Reference in a new issue