AFFiNE
AFFiNE copied to clipboard
Release support for arm64 in Linux
Hello. I have seen that you have released an arm64 version for macOS. The arm64 platform is increasing in popularity the last few years and can also be found on a Raspberry Pi, or other Linux computers/small servers. Since it it possible to run AFFiNE on arm64, could you either release a build for Linux or provide the steps to build one?
Before we provide an official arm64 build for Linux, you can do the following to build by yourself:
- config yarn to make packages NOT using hoist policy & NOT using hard link
-
yarn config set nmHoistingLimits workspaces
-
yarn config set nmMode classic
-
- clean up all
node_modules
:find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +
- rerun
yarn add
- Make using
DEBUG=* HOIST_NODE_MODULES=1 BUILD_TYPE=canary yarn workspace @affine/electron make
You should find the bundle under packages/frontend/electron/out
.