Skip to content

Commit

Permalink
docs(readme): update some content [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliangsir committed Oct 23, 2024
1 parent 8b10cb0 commit 236a963
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Libwebp Wasm
# Gif2Webp

## Introduction

Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Libwebp Wasm
# Gif2Webp

## 介绍

Expand Down Expand Up @@ -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 的操作。

Expand Down

0 comments on commit 236a963

Please sign in to comment.