Skip to content

Commit

Permalink
Log framework/bitness on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
FenPhoenix committed Jan 11, 2024
1 parent 2d9d92e commit 5f00e89
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion AngelLoader/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,12 @@ protected override bool OnStartup(StartupEventArgs eventArgs)
SetLogFile(Paths.LogFile);

// We don't need to clear this log because LogStartup overwrites (no append)
LogStartup(viewEnv.ProductVersion + " Started session");
#if X64
const string appType = "Framework x64";
#else
const string appType = "Framework x86";
#endif
LogStartup(viewEnv.ProductVersion + " (" + appType + ") Started session");

// Do this after the startup log so we don't try to log something at the same time as the non-
// lock-protected startup log
Expand Down

0 comments on commit 5f00e89

Please sign in to comment.