Download webgpu/build.sh from PYTHAI/drAIML: direct link, hf CLI and curl.
- Browser
- Download file 467 Bytes
-
https://huggingface.co/spaces/PYTHAI/drAIML/resolve/main/webgpu/build.sh
- Command line
-
hf download hf://spaces/PYTHAI/drAIML/webgpu/build.sh
-
curl -L -o build.sh https://huggingface.co/spaces/PYTHAI/drAIML/resolve/main/webgpu/build.sh
467 Bytes
| # Build the extension zip from extension/ (same package for Chromium browsers and Firefox). | |
| set -euo pipefail | |
| cd "$(dirname "$0")" | |
| v=$(python3 -c 'import json;print(json.load(open("extension/manifest.json"))["version"])') | |
| rm -f draiml-webgpu-helper-*.zip | |
| (cd extension && zip -qrX "../draiml-webgpu-helper-$v.zip" manifest.json *.js popup.html LICENSE icons) | |
| echo "draiml-webgpu-helper-$v.zip: $(unzip -l "draiml-webgpu-helper-$v.zip" | tail -1)" | |