Skip to content

Commit

Permalink
use yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjia404 committed May 23, 2024
1 parent bbd7c65 commit 60b12d7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10,598 deletions.
8 changes: 4 additions & 4 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ git clone git@github.com:imfile-io/imfile-desktop.git

```bash
cd imfile-desktop
pnpm i
yarn install
```

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

```bash
pnpm run dev
yarn run dev
```

### 编译打包

```bash
pnpm run build
yarn run build
```
#### 编译 Apple Silicon 版本

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

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ git clone git@github.com:imfile-io/imfile-desktop.git

```bash
cd imfile-desktop
pnpm i
yarn install
```

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

```bash
pnpm run dev
yarn run dev
```

### Build Release

```bash
pnpm run build
yarn run build
```
#### Build for Apple Silicon

```bash
pnpm run build:applesilicon
yarn run build:applesilicon
```

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

0 comments on commit 60b12d7

Please sign in to comment.