platform/server/uws/uws.sh
火焚 富良 8003611c37
Change shebangs to /usr/bin/env calls for better portability (#5961)
Signed-off-by: Egor Savkin <tomasfire@live.com>
2024-07-01 23:21:52 +07:00

11 lines
259 B
Bash
Executable File

#!/usr/bin/env bash
mkdir -p ./.build
cd ./.build
if ! test -f ./v20.43.0.zip; then
wget --quiet https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/v20.43.0.zip
fi
if ! test -f ../lib/uws.js; then
unzip -qq -j -o ./v20.43.0.zip -d ../lib
fi