AFFiNE/packages/frontend/electron
pengx17 1efc1d0f5b
feat(electron): multi tabs support ()
use https://www.electronjs.org/docs/latest/api/web-contents-view to serve different tab views
added tabs view manager in electron to handle multi-view actions and events.

fix AF-1111
fix AF-999
fix PD-1459
fix AF-964
PD-1458
2024-07-29 11:05:22 +00:00
..
renderer feat(electron): multi tabs support () 2024-07-29 11:05:22 +00:00
resources build(electron): add nsis script for windows installer () 2024-04-25 03:30:04 +00:00
scripts build(electron): add nsis build to release-desktop workflow () 2024-04-25 03:52:27 +00:00
src feat(electron): multi tabs support () 2024-07-29 11:05:22 +00:00
test fix(electron): remove all migration code in electron () 2024-05-17 03:01:14 +00:00
.gitignore refactor(infra): directory structure () 2023-10-18 15:30:08 +00:00
dev-app-update.yml refactor(infra): directory structure () 2023-10-18 15:30:08 +00:00
forge.config.mjs chore: assign todos () 2024-06-21 07:54:14 +00:00
package.json feat: bump blocksuite () 2024-07-29 08:42:22 +00:00
project.json refactor(infra): remove old plugin system () 2023-12-27 02:49:59 +00:00
README.md refactor(infra): directory structure () 2023-10-18 15:30:08 +00:00
tsconfig.json perf(electron): add index for updates () 2024-05-16 06:30:53 +00:00
tsconfig.node.json feat(electron): define runtimeConfig in esbuild () 2024-03-25 03:55:26 +00:00
tsconfig.test.json feat(electron): define runtimeConfig in esbuild () 2024-03-25 03:55:26 +00:00
vitest.config.ts chore(electron): config vitest swc () 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