Fix TShock Installer version being written to console

v5 not v6...
This commit is contained in:
Luke 2022-11-21 12:23:22 +10:00
parent d84c14fc58
commit 9550631064

View file

@ -4,7 +4,7 @@ using System.Runtime.InteropServices;
using ICSharpCode.SharpZipLib.GZip; using ICSharpCode.SharpZipLib.GZip;
using ICSharpCode.SharpZipLib.Tar; 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 // reference: https://github.com/dotnet/install-scripts/blob/main/src/dotnet-install.sh
// ./dotnet-install.sh -verbose -version 6.0.11 --runtime dotnet // ./dotnet-install.sh -verbose -version 6.0.11 --runtime dotnet