toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
https://affine.pro
Other
42.89k stars 2.81k forks source link

Builds for arm on windows​ (WOA) #3037

Open intzaaa opened 1 year ago

intzaaa commented 1 year ago

Description

Today, more and more Windows computers are equipped with Arm chips, which are excellent for energy efficiency and are very suitable for text work.

Obsidian has already provided builds for the windows arm64.

Use case

No response

Anything else?

No response

Are you willing to submit a PR?

Brooooooklyn commented 1 year ago

Block by https://github.com/briansmith/ring/issues/1167

kanweiwei commented 1 year ago

https://github.com/briansmith/ring/issues/1514#issuecomment-1258562375

I have tested the code in this comment and it works on my pd vm. One thing to note is that tokio needs to be downgraded to version 1.28.1 since version 1.29.1 appears to have some errors.

However, during testing, I encountered another problem where the BrowserWindow did not show up after running the command yarn nx dev @affine/electron. The code stopped executing at here. https://github.com/toeverything/AFFiNE/blob/283f0cd2630853dbc997e9276affeaea6a16000c/apps/electron/src/main/main-window.ts#L25 This issue only occurred on non-macOS platforms, and i don't know much about this code and the async-call-rpc library. Can anyone provide an explanation?

himself65 commented 1 year ago

This issue only occurred on non-macOS platforms, and i don't know much about this code and the async-call-rpc library. Can anyone provide an explanation?

async-call-rpc is platform unrelated library, I guarantee that it can be used in all javascript runtime

intzaaa commented 10 months ago

Block by briansmith/ring#1167

this issue is closed now 😁

forehalo commented 3 months ago

@Brooooooklyn how's now?