From 95506310648e598eee7cd568c507885b8ecec1c0 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 21 Nov 2022 12:23:22 +1000 Subject: [PATCH] Fix TShock Installer version being written to console v5 not v6... --- TShockInstaller/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockInstaller/Program.cs b/TShockInstaller/Program.cs index 72fc63bd..700aadd1 100644 --- a/TShockInstaller/Program.cs +++ b/TShockInstaller/Program.cs @@ -4,7 +4,7 @@ using System.Runtime.InteropServices; using ICSharpCode.SharpZipLib.GZip; using ICSharpCode.SharpZipLib.Tar; -Console.WriteLine($"TShock Installer {typeof(Program).GetType().Assembly.GetName().Version}."); +Console.WriteLine($"TShock Installer {typeof(Program).Assembly.GetName().Version}."); // reference: https://github.com/dotnet/install-scripts/blob/main/src/dotnet-install.sh // ./dotnet-install.sh -verbose -version 6.0.11 --runtime dotnet