Fix your PC from shutting off (lmao wp)

This commit is contained in:
Julian 2023-02-06 09:02:37 -05:00
parent e0968bb95c
commit c992ca4714
Signed by: NotNite
GPG Key ID: BD91A5402CCEB08A
2 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net4.7.2</TargetFramework>
<Version>1.0.1</Version>
<Version>1.0.2</Version>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationFramework" />

View File

@ -7,7 +7,7 @@ using System.Reflection;
namespace DeezShade {
public class Program {
public static void Main(string[] args) {
Console.WriteLine("DeezShade v1.0.0, by NotNet and friends");
Console.WriteLine("DeezShade v1.0.2, by NotNet and friends");
Console.WriteLine("Built for GShade v4.1.1.");
Console.Write("Enter the path to your game install: ");
@ -55,7 +55,8 @@ namespace DeezShade {
// get presets & shaders
type.GetField("_gsTempPath").SetValue(null, tempPath);
type.GetField("_exeParentPath").SetValue(null, gameInstall);
type.GetField("_instReady").SetValue(null, true); // wp
type.GetMethod("CopyZipDeployProcess").Invoke(null, null);
type.GetMethod("PresetDownloadProcess").Invoke(null, null);
type.GetMethod("PresetInstallProcess").Invoke(null, null);