AFFiNE/packages/frontend/electron
Peng Xiao 31dc1f5e00
fix(electron): use dynamic load for exposed meta (#5251)
There is high possibilities of  circular dependencies when importing `exposed-meta` module. Change it to dynamic import to mitigate the issue..
2023-12-13 05:17:17 +00:00
..
resources fix(electron): update app icons (#4789) 2023-10-31 09:09:42 +00:00
scripts fix(electron): use tree-kill for electron dev (#5252) 2023-12-11 04:26:19 +00:00
src fix(electron): use dynamic load for exposed meta (#5251) 2023-12-13 05:17:17 +00:00
test refactor(electron): fix vitest and add behavior test (#4655) 2023-10-18 22:14:30 -05: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): asar (#4965) 2023-11-21 17:44:30 +00:00
package.json feat: bump blocksuite (#5267) 2023-12-12 06:18:30 +00:00
project.json refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
README.md refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
tsconfig.json refactor(electron): fix vitest and add behavior test (#4655) 2023-10-18 22:14:30 -05:00
tsconfig.node.json refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
tsconfig.test.json refactor(electron): fix vitest and add behavior test (#4655) 2023-10-18 22:14:30 -05:00
vitest.config.ts refactor(electron): fix vitest and add behavior test (#4655) 2023-10-18 22:14:30 -05: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