diff --git a/README.md b/README.md index d7900f2..82b9bed 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Libwebp Wasm +# Gif2Webp ## Introduction @@ -12,7 +12,7 @@ The process of converting the [libwebp](https://github.com/webmproject/libwebp) #### Toolchain -This includes installing [emsdk](https://github.com/emscripten-core/emsdk), [cmake](https://cmake.org), and [pnpm](https://pnpm.io). For specific installation methods, refer to the [Emscripten official documentation](https://emscripten.org/docs/getting_started/downloads.html), [pnpm official documentation](https://pnpm.io/installation), and [installing cmake](https://juejin.cn/post/6844904024433491982#heading-6). +This includes installing [emsdk](https://github.com/emscripten-core/emsdk), [cmake](https://cmake.org), and [pnpm](https://pnpm.io). For specific installation methods, refer to the [Emscripten official documentation](https://emscripten.org/docs/getting_started/downloads.html), [pnpm official documentation](https://pnpm.io/installation), and [installing cmake](https://gist.github.com/fscm/29fd23093221cf4d96ccfaac5a1a5c90). #### submodule @@ -41,7 +41,7 @@ docker build -f ./docker/Dockerfile -t libwebp-wasm/gif2webp:latest . ##### Run Image ```bash -docker run --rm -v dist:/gif2webp/dist -v es:/gif2webp/es -v lib:/gif2webp/lib libwebp-wasm/gif2webp +docker run --rm -v $(pwd)/dist:/gif2webp/dist -v $(pwd)/es:/gif2webp/es -v $(pwd)/lib:/gif2webp/lib libwebp-wasm/gif2webp ``` #### Other diff --git a/README.zh-CN.md b/README.zh-CN.md index 6efd4a3..6ca95bf 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -1,4 +1,4 @@ -# Libwebp Wasm +# Gif2Webp ## 介绍 @@ -41,10 +41,10 @@ docker build -f ./docker/Dockerfile -t libwebp-wasm/gif2webp:latest . ##### 运行镜像 ```bash -docker run --rm -v dist:/gif2webp/dist -v es:/gif2webp/es -v lib:/gif2webp/lib libwebp-wasm/gif2webp +docker run --rm -v $(pwd)/dist:/gif2webp/dist -v $(pwd)/es:/gif2webp/es -v $(pwd)/lib:/gif2webp/lib libwebp-wasm/gif2webp ``` -#### Other +#### 其它 注意:现在是通过运行 `git apply` 命令的方式,实现修改上游 submodule 项目代码的目的。所以,有时候需要在 submodule 目录下提交自己的 commit,然后手动执行生成 patch 的操作。