nyvora.app/deps.sh
2024-09-23 14:35:41 -04:00

8 lines
429 B
Bash
Executable file

# Your bash variables here
$AERO_PATH="public/aero" # The directory where aero's files should be
./node_modules/aero-proxy/examples/install-aero.sh
curl https://raw.githubusercontent.com/vortexdeveloperlabs/sdk/refs/heads/main/aeroHandleSimple.js -o public/aeroHandleSimple.js
cp ./node_modules/aero-proxy/examples/swWithSwitcher.js public/sw.js
sed -i 's/const defaultProxy = "aero";/const defaultProxy = "uv";/' public/sw.js