|
|
@ -14,14 +14,14 @@ npm install
|
|
|
|
Make sure it is in the project root directory and compiled with make-js.
|
|
|
|
Make sure it is in the project root directory and compiled with make-js.
|
|
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
```shell
|
|
|
|
npx cmake-js compile -T whisper-addon
|
|
|
|
npx cmake-js compile -T whisper-addon -B Release
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
For Electron addon and cmake-js options, you can see [cmake-js](https://github.com/cmake-js/cmake-js) and make very few configuration changes.
|
|
|
|
For Electron addon and cmake-js options, you can see [cmake-js](https://github.com/cmake-js/cmake-js) and make very few configuration changes.
|
|
|
|
|
|
|
|
|
|
|
|
> Such as appointing special cmake path:
|
|
|
|
> Such as appointing special cmake path:
|
|
|
|
> ```shell
|
|
|
|
> ```shell
|
|
|
|
> npx cmake-js compile -c 'xxx/cmake' -T whisper-addon
|
|
|
|
> npx cmake-js compile -c 'xxx/cmake' -T whisper-addon -B Release
|
|
|
|
> ```
|
|
|
|
> ```
|
|
|
|
|
|
|
|
|
|
|
|
## Run
|
|
|
|
## Run
|
|
|
|