AFFiNE/packages/frontend/electron
pengx17 65ab6c89bf
fix(electron): optimize electron open/close on mac (#6224)
1. never close main window on mac to allow it to be quickly open
1. make the browser show a bit faster
2. brought up app window when clicking some menu items
2024-03-20 11:02:22 +00:00
..
renderer refactor(core): split web entry from core (#6082) 2024-03-19 07:48:56 +00:00
resources fix(electron): update app icons (#4789) 2023-10-31 09:09:42 +00:00
scripts refactor(core): split web entry from core (#6082) 2024-03-19 07:48:56 +00:00
src fix(electron): optimize electron open/close on mac (#6224) 2024-03-20 11:02:22 +00:00
test feat(core): split right sidebar (#5971) 2024-03-04 06:42:12 +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 fix(electron): linux login issues (#5821) 2024-02-19 14:24:59 +00:00
package.json refactor(core): split web entry from core (#6082) 2024-03-19 07:48:56 +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 refactor(core): split web entry from core (#6082) 2024-03-19 07:48:56 +00:00
tsconfig.node.json refactor(infra): remove old plugin system (#5411) 2023-12-27 02:49:59 +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 chore: bump up vitest monorepo to v1 (major) (#5217) 2023-12-18 13:46:29 +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