Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Aug 12, 2024
1 parent 02b67e4 commit e5041b4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Release for Windows
if: matrix.os == 'windows-latest'
run: |
pnpm build:pkg
pnpm build:app
- name: Release for MacOS
if: matrix.os == 'macos-latest'
Expand Down Expand Up @@ -77,9 +77,9 @@ jobs:
# apply provisioning profile
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
pnpm build:pkg
pnpm build:app
- name: Release for Linux
if: matrix.os == 'ubuntu-latest'
run: |
pnpm build:pkg
pnpm build:app
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@ Uses:
pnpm install
pnpm run dev
```

## Build

```bash
pnpm build
```

# Pack App

```bash
pnpm build:app
```
4 changes: 2 additions & 2 deletions apps/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"build:pkg": "npx tsx scripts/build.ts",
"compile": "cross-env MODE=production npm run build && npm run build:pkg",
"build:app": "npx tsx scripts/build.ts",
"compile": "npm run build && npm run build:app",
"lint": "eslint . --ext js,ts",
"typecheck": "tsc --noEmit -p tsconfig.json",
"postinstall": "cross-env ELECTRON_RUN_AS_NODE=1 electron ../../scripts/update-electron-vendors.js"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build": "turbo run build",
"dev:p": "turbo run dev --parallel",
"compile": "turbo run compile",
"build:pkg": "pnpm -F electron-main run build:pkg",
"build:app": "pnpm -F electron-main run build:app",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
Expand Down

0 comments on commit e5041b4

Please sign in to comment.