AFFiNE/packages/frontend/electron
2024-09-11 07:55:37 +00:00
..
renderer feat(core): user data db (#7930) 2024-09-11 07:55:37 +00:00
resources build(electron): add nsis script for windows installer (#6674) 2024-04-25 03:30:04 +00:00
scripts fix: remove unused variables (#7968) 2024-08-26 14:23:56 +08:00
src feat(core): user data db (#7930) 2024-09-11 07:55:37 +00:00
test feat(core): user data db (#7930) 2024-09-11 07:55:37 +00:00
.gitignore refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
dev-app-update.yml refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
forge.config.mjs chore: assign todos (#7297) 2024-06-21 07:54:14 +00:00
package.json chore: bump bs (#8189) 2024-09-10 13:48:08 +00:00
project.json refactor(infra): remove old plugin system (#5411) 2023-12-27 02:49:59 +00:00
README.md docs: add electron build troubleshooting (#8102) 2024-09-05 13:39:01 +08:00
tsconfig.json perf(electron): add index for updates (#6951) 2024-05-16 06:30:53 +00:00
tsconfig.node.json chore: bump @blocksuite/icons (#7749) 2024-08-06 05:32:19 +00:00
tsconfig.test.json feat(electron): define runtimeConfig in esbuild (#6287) 2024-03-25 03:55:26 +00:00
vitest.config.ts fix(electron): fix ci (#8085) 2024-09-04 08:00:09 +00:00

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

If you have trouble building electron during yarn install, try setting mirror environment variable:

export ELECTRON_MIRROR="https://registry.npmmirror.com/-/binary/electron/"

Credits

Most of the boilerplate code is generously borrowed from the following