-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows ARM64 support #836
Conversation
Works on Windows 11 (build 22621.1265) on ARM64 (Dev Kit 2023) |
@fxliang 的分支合并之后变了很多东西,有空我再rebase一下,最好是等 #886 合并之后。 另外 STL 那边的问题似乎是解决了,可以研究一下怎么将TSF Client编译成一个ARM64X DLL了,这样部署可以简化很多(能删掉WeaselSetup的一坨hacky代码) weasel/WeaselSetup/imesetup.cpp Lines 146 to 182 in b23bc47
Lines 279 to 295 in b23bc47
|
我是没有测试条件,没有办法测试确认的,之前有看了下,修改也不算多,新增参数建议改成默认参数放到最后,这样非ARM的调用可以不用改,其余暂时未看细 |
noarm64 现在就是放最后的 |
Rebase 到最新 master,变化如下:
|
5713650
to
b58b1a9
Compare
7e75e81
to
1771dbf
Compare
Summary
Notes
Pass
arm64
tobuild.bat
to build ARM support, you'll need the following Visual Studio Components:ARM64X redirecton DLLs are used for ARM64 to support x64 and ARM64 apps.
weasel.dll
andweasel.ime
are wrappers that redirects toweaselARM64
orweaselx64
depending on the app calling them. And that's also why three files are needed insystem32
now.This is required since there is no WOW redirection in the case of x64 on ARM64 and they have to somehow share the same
system32
directory.Screenshots
Windows Search (ARM64)
![屏幕截图 2023-02-26 040003](https://user-images.githubusercontent.com/22699485/221378103-2348c7ae-106f-4dee-b53c-661961b05c42.png)
Mail app (ARM32)
![屏幕截图 2023-02-26 040040](https://user-images.githubusercontent.com/22699485/221378122-42839e2d-1c34-413f-9729-752a80a96b8f.png)
Note: ARM32 version will not be installed on systems without ARM32 app support (Windows 11 24H2 and higher).
QQ (x86)
![屏幕截图 2023-02-26 040227](https://user-images.githubusercontent.com/22699485/221378133-96d64a7b-cb19-430d-a967-7a23bd0cf2e1.png)
mintty (x64)
![屏幕截图 2023-02-26 040103](https://user-images.githubusercontent.com/22699485/221378150-ab803706-0417-4f5c-96b7-9698d1750ed1.png)