AFFiNE/packages/frontend/electron
2024-05-13 02:27:21 +00:00
..
renderer chore(core): handle the telemetry warnings in console (#6793) 2024-05-07 04:28:34 +00:00
resources build(electron): add nsis script for windows installer (#6674) 2024-04-25 03:30:04 +00:00
scripts build(electron): add nsis build to release-desktop workflow (#6677) 2024-04-25 03:52:27 +00:00
src chore: remove unused file (#6894) 2024-05-13 02:27:21 +00:00
test refactor(electron): cleanup secondary db logic (#6710) 2024-04-26 10:57:09 +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 build(electron): add nsis script for windows installer (#6674) 2024-04-25 03:30:04 +00:00
package.json Revert "chore: bump @pengx17/electron-forge-maker-appimage (#6726)" (#6859) 2024-05-10 04:11:06 +00:00
project.json refactor(infra): remove old plugin system (#5411) 2023-12-27 02:49:59 +00:00
README.md refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
tsconfig.json fix: runtime issue for electron app (#6306) 2024-03-26 02:04:13 +00:00
tsconfig.node.json feat(electron): define runtimeConfig in esbuild (#6287) 2024-03-25 03:55:26 +00:00
tsconfig.test.json feat(electron): define runtimeConfig in esbuild (#6287) 2024-03-25 03:55:26 +00:00
vitest.config.ts chore(electron): config vitest swc (#6282) 2024-03-25 03:55:23 +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

Credits

Most of the boilerplate code is generously borrowed from the following