diff --git a/.gitignore b/.gitignore index 31888d3..7b9f61b 100644 --- a/.gitignore +++ b/.gitignore @@ -12,11 +12,6 @@ *.gch *.pch -# Compiled Dynamic libraries -*.so -*.dylib -*.dll - # Fortran module files *.mod *.smod diff --git a/README.md b/README.md index 49f9300..2b3d158 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,15 @@ I have tested it with my Windows 10 22H2. Other versions like Windows 10 21H2 is Steps: -1. Get WSA appx zip. You can do this by following instructions in https://github.com/LSPosed/MagiskOnWSALocal (You need to "build" this yourself with your local WSL2). -2. Get "icu.dll" from Windows 11 22H2. Note that you MUST use icu.dll from Windows 11. The icu.dll from Windows 10 will NOT work. +1. Get WSA appx zip. You can do this by following instructions in https://github.com/LSPosed/MagiskOnWSALocal + (You need to "build" this yourself with your local WSL2). +2. Get "icu.dll" from Windows 11 22H2. Note that you MUST use icu.dll from Windows 11. + The icu.dll from Windows 10 will NOT work. + (I have made a copy of these DLLs in the original.dll.win11.22h2 dir. They are digitally signed by Microsoft.) 3. Build WsaPatch.dll with source code in this repo. 4. Patch icu.dll: add WsaPatch.dll as an import DLL as icu.dll. 5. Copy patched icu.dll and WsaPatch.dll to WsaClient dir. -6. Patch AppxManifest.xml: Find TargetDeviceFamily node and change the MinVersion attribute to your windows version. +6. Patch AppxManifest.xml: Find TargetDeviceFamily node and change the MinVersion attribute to your Windows version. 7. Patch AppxManifest.xml: Delete all nodes about "customInstall" extension in AppxManifest.xml. 8. Run "Run.bat" to register your WSA appx. 9. You should be able to run WSA now. diff --git a/original.dll.win11.22h2/x86_64/icu.dll b/original.dll.win11.22h2/x86_64/icu.dll new file mode 100644 index 0000000..160e18e Binary files /dev/null and b/original.dll.win11.22h2/x86_64/icu.dll differ diff --git a/original.dll.win11.22h2/x86_64/winhttp.dll b/original.dll.win11.22h2/x86_64/winhttp.dll new file mode 100644 index 0000000..2250240 Binary files /dev/null and b/original.dll.win11.22h2/x86_64/winhttp.dll differ