Update for latest version of the game, and print plugin load errors to console if no window is currently open
This commit is contained in:
@@ -90,7 +90,16 @@ public class GitHubPlugin : PluginData
|
||||
}
|
||||
else
|
||||
{
|
||||
a = Assembly.LoadFile(dllFile);
|
||||
try
|
||||
{
|
||||
a = Assembly.LoadFile(dllFile);
|
||||
}
|
||||
catch
|
||||
{
|
||||
LogFile.WriteLine($"Error loading {dllFile}, deleting file");
|
||||
File.Delete(dllFile);
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
Version = a.GetName().Version;
|
||||
|
Reference in New Issue
Block a user