AFFiNE/packages/frontend/apps/electron
donteatfriedrice ca6e8c380b
feat: bump blocksuite (#8705)
## Feat

- feat: add pdf viewer to playground (#8650)
- feat: add view toggle menu to toolbar of attachment block (#8660)
- feat: attachment embedded view supports configurable (#8658)

## Fix

- fix: tidy up after multiple images uploaded (#8671)
- fix: unable to add caption for linked document of embedded view (#8670)
- fix(blocks): code block should update highlight when theme changed (#8669)
- fix(edgeless): allow right click of tool controller (#8652)
- fix(database): short name of tag type (#8665)
- fix: the content of formula should contain spaces (#8647)
- fix: import notion database with title (#8661)
- fix(page): bookmark block selected style (#8656)
- fix(edgeless): switching shape style and color, the preview does not change in time (#8655)
- fix(blocks): size of icons are not consistent in keyboard toolbar (#8653)
- fix: use host instead of offsetParent (#8651)

## Refactor

- refactor(database): filter ui (#8611)

## Ci

- ci: renovate pr title lint (#8666)
2024-11-05 08:54:00 +00:00
..
renderer refactor(core): desktop project struct (#8334) 2024-11-05 11:00:33 +08:00
resources refactor: new project struct (#8199) 2024-09-12 07:42:57 +00:00
scripts fix(electron): deep link handling without running instance (#8661) 2024-11-01 07:23:38 +00:00
src refactor(core): desktop project struct (#8334) 2024-11-05 11:00:33 +08:00
test refactor: new project struct (#8199) 2024-09-12 07:42:57 +00:00
.gitignore refactor: new project struct (#8199) 2024-09-12 07:42:57 +00:00
dev-app-update.yml refactor: new project struct (#8199) 2024-09-12 07:42:57 +00:00
forge.config.mjs build(electron): flatpak support for linux (#8439) 2024-10-10 09:51:33 +00:00
package.json feat: bump blocksuite (#8705) 2024-11-05 08:54:00 +00:00
project.json refactor: new project struct (#8199) 2024-09-12 07:42:57 +00:00
README.md refactor: new project struct (#8199) 2024-09-12 07:42:57 +00:00
tsconfig.json refactor: new project struct (#8199) 2024-09-12 07:42:57 +00:00
tsconfig.node.json refactor: new project struct (#8199) 2024-09-12 07:42:57 +00:00
tsconfig.test.json refactor: new project struct (#8199) 2024-09-12 07:42:57 +00:00
vitest.config.ts refactor: new project struct (#8199) 2024-09-12 07:42:57 +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/apps/electron
yarn generate-assets
yarn dev # or yarn prod for production build

Troubleshooting

If you have trouble building electron during yarn install, try setting mirror environment variable:

export ELECTRON_MIRROR="https://registry.npmmirror.com/-/binary/electron/"

Credits

Most of the boilerplate code is generously borrowed from the following