From bb9702a3c3f3b462ba99405ebbd2c8ebc6d6eced Mon Sep 17 00:00:00 2001 From: Gustave Monce Date: Mon, 21 Oct 2024 23:25:50 +0200 Subject: [PATCH] Patcher: fix compilation with dotnet 8 --- Patcher/AutoPatcher/AutoPatcher.csproj | 3 ++- .../AutoPatcher/BootUnllockAndRootAccessPatchScript.pds | 4 ++-- Patcher/Patcher.sln | 8 ++++---- Patcher/Patcher/Patcher.csproj | 6 +++++- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/Patcher/AutoPatcher/AutoPatcher.csproj b/Patcher/AutoPatcher/AutoPatcher.csproj index 210c5f2..0facbbd 100644 --- a/Patcher/AutoPatcher/AutoPatcher.csproj +++ b/Patcher/AutoPatcher/AutoPatcher.csproj @@ -1,10 +1,11 @@  - net5.0-windows + net8.0-windows WinExe Patcher false true + x86;x64 bin\x86\Debug\ diff --git a/Patcher/AutoPatcher/BootUnllockAndRootAccessPatchScript.pds b/Patcher/AutoPatcher/BootUnllockAndRootAccessPatchScript.pds index f2d6e75..db960f1 100644 --- a/Patcher/AutoPatcher/BootUnllockAndRootAccessPatchScript.pds +++ b/Patcher/AutoPatcher/BootUnllockAndRootAccessPatchScript.pds @@ -81,7 +81,7 @@ PatchDefinition Name="RootAccess-MainOS" VersionFrom="EFIESP\Windows\System32\Bo PatchFile Path="Windows\System32\ntoskrnl.exe" - // Fase 1: find all kernel-functions + // Phase 1: find all kernel-functions JumpToExport "SeAccessCheckWithHint" CreateLabel "SeAccessCheckWithHint" @@ -150,7 +150,7 @@ PatchDefinition Name="RootAccess-MainOS" VersionFrom="EFIESP\Windows\System32\Bo JumpToExport "ObReferenceObjectByHandleWithTag" CreateLabel "ObReferenceObjectByHandleWithTag" - // Fase 2: patches + // Phase 2: patches JumpToLabel "SeAccessCheckByType" diff --git a/Patcher/Patcher.sln b/Patcher/Patcher.sln index e3dfc6b..0d4cabe 100644 --- a/Patcher/Patcher.sln +++ b/Patcher/Patcher.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2041 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35323.107 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Patcher", "Patcher\Patcher.csproj", "{B67C62AE-86C4-4C18-99AB-4E94A3E09D36}" EndProject @@ -39,8 +39,8 @@ Global {B67C62AE-86C4-4C18-99AB-4E94A3E09D36}.Debug|Any CPU.Build.0 = Debug|Any CPU {B67C62AE-86C4-4C18-99AB-4E94A3E09D36}.Debug|x64.ActiveCfg = Debug|x64 {B67C62AE-86C4-4C18-99AB-4E94A3E09D36}.Debug|x64.Build.0 = Debug|x64 - {B67C62AE-86C4-4C18-99AB-4E94A3E09D36}.Debug|x86.ActiveCfg = Debug|Any CPU - {B67C62AE-86C4-4C18-99AB-4E94A3E09D36}.Debug|x86.Build.0 = Debug|Any CPU + {B67C62AE-86C4-4C18-99AB-4E94A3E09D36}.Debug|x86.ActiveCfg = Debug|x86 + {B67C62AE-86C4-4C18-99AB-4E94A3E09D36}.Debug|x86.Build.0 = Debug|x86 {B67C62AE-86C4-4C18-99AB-4E94A3E09D36}.Release|Any CPU.ActiveCfg = Release|Any CPU {B67C62AE-86C4-4C18-99AB-4E94A3E09D36}.Release|Any CPU.Build.0 = Release|Any CPU {B67C62AE-86C4-4C18-99AB-4E94A3E09D36}.Release|x64.ActiveCfg = Release|x64 diff --git a/Patcher/Patcher/Patcher.csproj b/Patcher/Patcher/Patcher.csproj index 7f9acf5..8736b49 100644 --- a/Patcher/Patcher/Patcher.csproj +++ b/Patcher/Patcher/Patcher.csproj @@ -1,9 +1,10 @@  - net5.0-windows + net8.0-windows WinExe false true + x86;x64 bin\x86\Debug\ @@ -25,4 +26,7 @@ + + + \ No newline at end of file