bump version to 1.0.3.0, fixes related to WeMod rebranding, update references to use constants

This commit is contained in:
kitbyte
2025-11-03 22:43:45 +02:00
parent 9ba60a09a7
commit 8f14ee2939
6 changed files with 21 additions and 16 deletions
+2 -2
View File
@@ -119,7 +119,7 @@ namespace WeModPatcher.View.MainWindow
// This shit doesn't look at the hash and verify() always returns true
//using X509Certificate2 cert = new X509Certificate2(X509Certificate.CreateFromSignedFile(filePath));
var restoreExeResult = MemoryUtils.PatchFile( Path.Combine( WeModPath, "WeMod.exe"),
var restoreExeResult = MemoryUtils.PatchFile( Path.Combine( WeModPath, Constants.WeModExeName),
Constants.ExePatchSignature, Constants.ExePatchSignature.OriginalBytes);
if (restoreExeResult == -1)
{
@@ -129,7 +129,7 @@ namespace WeModPatcher.View.MainWindow
{
Log(restoreExeResult == 0 ?
"Signature exe is original, does not require restoration"
: "WeMod.exe restored successfully", ELogType.Success);
: $"{Constants.WeModExeName} restored successfully", ELogType.Success);
}
}
catch