mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
it seems using async callback for onBeforeSendHeaders may crash the app. the main reason why it is async is to read the cookies from session. fix AF-1172
AFFiNE Electron App
Development
To run AFFiNE Desktop Client Application locally, run the following commands:
# in repo root
yarn install
yarn workspace @affine/native build
yarn dev
# in packages/frontend/electron
yarn generate-assets
yarn dev # or yarn prod for production build
Troubleshooting
Credits
Most of the boilerplate code is generously borrowed from the following