nyvora.app/deps.sh
2024-09-23 21:15:47 -04:00

8 lines
428 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