feat: electron app (#1586)

This commit is contained in:
Peng Xiao
2023-03-16 22:58:21 +08:00
committed by GitHub
parent 6ae06d5609
commit 88f662e6f6
42 changed files with 6597 additions and 284 deletions

24
apps/electron/README.md Normal file
View File

@@ -0,0 +1,24 @@
# AFFiNE Electron App
# ⚠️ NOTE ⚠️
Due to PNPM related issues, this project is currently using **yarn 3**.
See https://github.com/electron/forge/issues/2633
## Development
```
# in project root, start web app at :8080
pnpm dev
# in /apps/electron, start electron app
pnpm dev
```
## Credits
Most of the boilerplate code is generously borrowed from the following
- [vite-electron-builder](https://github.com/cawa-93/vite-electron-builder)
- [Turborepo basic example](https://github.com/vercel/turborepo/tree/main/examples/basic)
- [yerba](https://github.com/t3dotgg/yerba)