Add README & Global Build Script for WASM

remotes/origin/HEAD
xhacker-zzz 2 years ago
parent 81136dd4f8
commit ccb4458429

@ -67,6 +67,8 @@ docker run --name unlock-music -d -p 8080:80 ix64/unlock-music
### 自行构建
#### JS部分
- 环境要求
- nodejs (v16.x)
- npm
@ -90,3 +92,15 @@ docker run --name unlock-music -d -p 8080:80 ix64/unlock-music
```sh
npm run make-extension
```
#### WASM部分
- 环境要求
- Linux
- python3
- 运行此目录下的build-wasm
```sh
bash build-wasm
```

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e
pushd ./src/QmcWasm
bash build-wasm
popd
pushd ./src/QmcWasm
bash build-wasm
popd
Loading…
Cancel
Save