File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313using System . Runtime . InteropServices ;
1414using ModShardLauncher . Mods ;
1515using System . Diagnostics ;
16+ using UndertaleModLib . Models ;
1617
1718namespace ModShardLauncher
1819{
@@ -36,6 +37,7 @@ public partial class Main : Window
3637 public const int SW_SHOW = 5 ;
3738 public static IntPtr handle ;
3839 public string mslVersion ;
40+ public string utmtlibVersion ;
3941 public Main ( )
4042 {
4143 handle = GetConsoleWindow ( ) ;
@@ -69,13 +71,14 @@ public Main()
6971 ProcessModule mainProcess = Msl . ThrowIfNull ( Process . GetCurrentProcess ( ) . MainModule ) ;
7072 string mainProcessName = Msl . ThrowIfNull ( mainProcess . FileName ) ;
7173 mslVersion = "v" + FileVersionInfo . GetVersionInfo ( mainProcessName ) . FileVersion ;
74+ utmtlibVersion = "v" + FileVersionInfo . GetVersionInfo ( typeof ( UndertaleCode ) . Assembly . Location ) . FileVersion ;
7275 }
7376 catch ( FileNotFoundException ex )
7477 {
7578 Log . Error ( ex , "Cannot find the dll of ModShardLauncher" ) ;
7679 throw ;
7780 }
78- Log . Information ( "Launching msl {{{0}}}" , mslVersion ) ;
81+ Log . Information ( "Launching msl {{{0}}} using UTMT {{{1}}} " , mslVersion , utmtlibVersion ) ;
7982
8083 try
8184 {
You can’t perform that action at this time.
0 commit comments