AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

Builds for arm on windows​ (WOA)

Open NMNMCC opened this issue 2 years ago • 5 comments

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?

  • [ ] Yes I'd like to help by submitting a PR!

NMNMCC avatar Jul 06 '23 01:07 NMNMCC

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

Brooooooklyn avatar Jul 06 '23 02:07 Brooooooklyn

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?

kanweiwei avatar Jul 07 '23 16:07 kanweiwei

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

himself65 avatar Aug 05 '23 01:08 himself65

Block by briansmith/ring#1167

this issue is closed now 😁

NMNMCC avatar Feb 03 '24 03:02 NMNMCC

@Brooooooklyn how's now?

forehalo avatar Aug 09 '24 07:08 forehalo