Skip to content

Commit 60b12d7

Browse files
committed
use yarn
1 parent bbd7c65 commit 60b12d7

File tree

3 files changed

+8
-10598
lines changed

3 files changed

+8
-10598
lines changed

README-CN.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ git clone [email protected]:imfile-io/imfile-desktop.git
6767

6868
```bash
6969
cd imfile-desktop
70-
pnpm i
70+
yarn install
7171
```
7272

7373
天朝大陆用户建议使用淘宝的 npm 源
@@ -86,18 +86,18 @@ export SASS_BINARY_SITE='https://npm.taobao.org/mirrors/node-sass'
8686
### 开发模式
8787

8888
```bash
89-
pnpm run dev
89+
yarn run dev
9090
```
9191

9292
### 编译打包
9393

9494
```bash
95-
pnpm run build
95+
yarn run build
9696
```
9797
#### 编译 Apple Silicon 版本
9898

9999
```bash
100-
pnpm run build:applesilicon
100+
yarn run build:applesilicon
101101
```
102102
完成之后可以在项目的 `release` 目录看到编译打包好的应用文件
103103

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ git clone [email protected]:imfile-io/imfile-desktop.git
6767

6868
```bash
6969
cd imfile-desktop
70-
pnpm i
70+
yarn install
7171
```
7272

7373
> Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
@@ -77,18 +77,18 @@ pnpm i
7777
### Dev Mode
7878

7979
```bash
80-
pnpm run dev
80+
yarn run dev
8181
```
8282

8383
### Build Release
8484

8585
```bash
86-
pnpm run build
86+
yarn run build
8787
```
8888
#### Build for Apple Silicon
8989

9090
```bash
91-
pnpm run build:applesilicon
91+
yarn run build:applesilicon
9292
```
9393

9494
After building, the application will be found in the project's `release` directory.

0 commit comments

Comments
 (0)