Browse Source

Add README & Global Build Script for WASM

20230320
xhacker-zzz 2 years ago
parent
commit
ddceb2ede8
  1. 14
      README.md
  2. 11
      build-wasm

14
README.md

@ -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
```

11
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