mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 09:51:35 +03:00
ca6e8c380b
## 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) |
||
---|---|---|
.. | ||
renderer | ||
resources | ||
scripts | ||
src | ||
test | ||
.gitignore | ||
dev-app-update.yml | ||
forge.config.mjs | ||
package.json | ||
project.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.node.json | ||
tsconfig.test.json | ||
vitest.config.ts |
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