Skip to content

Commit

Permalink
v0.11.7.7 release, quick ReLogic.dll protection
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidPack committed Oct 14, 2020
1 parent 1e40de1 commit 25a33e5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion patches/tModLoader/Terraria.ModLoader/ModLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static class ModLoader

public static readonly string branchName = "";
// beta > 0 cannot publish to mod browser
public static readonly int beta = 2;
public static readonly int beta = 0;

// SteamApps.GetCurrentBetaName(out string betaName, 100) ? betaName :
public static readonly string versionedName = $"tModLoader v{version}" +
Expand Down
11 changes: 11 additions & 0 deletions patches/tModLoader/Terraria/WindowsLaunch.cs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- src/Terraria/Terraria/WindowsLaunch.cs
+++ src/tModLoader/Terraria/WindowsLaunch.cs
@@ -63,6 +_,8 @@
return Assembly.Load(array);
}
};
+ if (File.Exists("ReLogic.dll"))
+ File.Delete("ReLogic.dll");

#if SERVER
WindowsLaunch._handleRoutine = new WindowsLaunch.HandlerRoutine(WindowsLaunch.ConsoleCtrlCheck);

0 comments on commit 25a33e5

Please sign in to comment.