Skip to content

Commit

Permalink
fix: wasm dict
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxiaoxuan committed Jun 11, 2024
1 parent 386a8ab commit ba6cdb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cheetah-capture",
"version": "0.3.0",
"version": "0.3.1",
"description": "cheetah-capture是基于ffmpeg的wasm截取视频帧工具",
"keywords": [
"ffmpeg",
Expand Down
1 change: 1 addition & 0 deletions script/build_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ emcc $WEB_CAPTURE_PATH/src/capture.c $FFMPEG_PATH/lib/libavformat.a $FFMPEG_PATH
-o $WEB_CAPTURE_PATH/dist/es/capture.worker.js

npx babel $WEB_CAPTURE_PATH/dist/es/capture.worker.js --out-file $WEB_CAPTURE_PATH/dist/capture.worker.js
cp $WEB_CAPTURE_PATH/dist/es/capture.worker.wasm $WEB_CAPTURE_PATH/dist/capture.worker.wasm

echo "===== finish build wasm ====="

0 comments on commit ba6cdb6

Please sign in to comment.