Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
update Loader class so that it shows the LoaderVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
GrafDimenzio committed Nov 8, 2020
1 parent 11f9eb6 commit 4fa4e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SynapseInjector/Loader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private static void printBanner(Assembly syn, List<Assembly> dep)
" __) \\/ | | (_| |_) _> (/_ \n" +
" / | \n\n" +
$"SynapseVersion {syn.GetName().Version}\n" +
//$"LoaderVersion: {Assembly.GetExecutingAssembly().GetName().Version}\n" + // <- this is always 0.0.0.0 because of SL's Assembly being 0.0.0.0
$"LoaderVersion: 1.0.0.0\n" +
$"RuntimeVersion: {Assembly.GetExecutingAssembly().ImageRuntimeVersion}\n\n" +
string.Join("\n", dep.Select(assembly => $"{assembly.GetName().Name}: {assembly.GetName().Version}").ToList()) + "\n" +
"-------------------===Loader===-------------------", ConsoleColor.Yellow);
Expand Down

0 comments on commit 4fa4e65

Please sign in to comment.