From bfcb0cf321f0808f56199143020cfcea13423c60 Mon Sep 17 00:00:00 2001 From: KawaiiZapic <577358285@qq.com> Date: Sun, 29 Oct 2023 15:32:04 +0800 Subject: [PATCH] chore: update build guide --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8de4107..ef1e413 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,6 @@ Encrypted data only can be decrypted in your current machine with the current ac 2. Use "Publish" to build plugin and copy dependencies 3. Use `ILRepack` to bundle all dependencies to a single file(Powertoys doesn't support load dll by the PTRun plugin). ``` - ILRepack.exe /lib:"C:\Program Files\Microsoft Visual Studio\2022\Community\dotnet\runtime\shared\Microsoft.NETCore.App\6.0.16" /out:PowerToysRunTOTP.dll PowertoysRunTOTP\bin\Release\net6.0-windows\publish\win-x64\PowerToysRunTOTP.dll PowertoysRunTOTP\bin\Release\net6.0-windows\publish\win-x64\Otp.NET.dll PowertoysRunTOTP\bin\Release\net6.0-windows\publish\win-x64\Google.Protobuf.dll + ILRepack.exe /lib:"C:\Program Files\Microsoft Visual Studio\2022\Community\dotnet\runtime\shared\Microsoft.NETCore.App\6.0.16" /lib:"C:\Users\(yourself)\.nuget\packages" /out:PowerToysRunTOTP.dll PowertoysRunTOTP\bin\Release\net6.0-windows\publish\win-x64\PowerToysRunTOTP.dll ``` 4. Use ILRepack to generate `PowerToysRunTOTP.dll` to replace the original output.