deps.sh 374 B

12345678910
  1. #!/bin/bash
  2. # Download and update deps for binary
  3. # get the directory of this script file
  4. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
  5. PUBLIC=$DIR/public
  6. echo "download js bundle files"
  7. curl https://npm.reversehttp.com/@preact/signals-core,@preact/signals,htm/preact,preact,preact/hooks > $PUBLIC/index.js
  8. echo >> $PUBLIC/index.js # add newline