AFFiNE/packages/frontend/electron
LongYinan fa8655e43e
style: apply prefer-node-protocol lint rule (#5627)
it makes it perfectly clear that the package is a Node.js builtin module.
2024-01-19 03:47:08 +00:00
..
resources fix(electron): update app icons (#4789) 2023-10-31 09:09:42 +00:00
scripts style: apply prefer-node-protocol lint rule (#5627) 2024-01-19 03:47:08 +00:00
src style: apply prefer-node-protocol lint rule (#5627) 2024-01-19 03:47:08 +00:00
test style: apply prefer-node-protocol lint rule (#5627) 2024-01-19 03:47:08 +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): asar (#4965) 2023-11-21 17:44:30 +00:00
package.json feat: upgrade electron and playwright (#5632) 2024-01-19 03:16: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 refactor(infra): remove old plugin system (#5411) 2023-12-27 02:49:59 +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