packaging script copies altcha and zips everything

`yarn run build`
This commit is contained in:
Jack Case
2025-12-09 21:03:06 +00:00
parent af8d222e7c
commit 1b819dd67a
3 changed files with 17 additions and 7 deletions

9
dev-scripts/build-extension.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/bash
rm -r scripts/ package.zip
tsc
mkdir -p scripts/altcha
cp -r node_modules/altcha/dist_external scripts/altcha/
zip -r package.zip icons/ pages/ scripts/ styles/ manifest.json