You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new method was added to FileLog.cs called Debug(string).
In the past, all calls to log were checked with if(Harmony.DEBUG) but now this new method is called in the FileLog class.
This means that the FileLog static constructor runs when before it didn't.
In environments like dockers on Linux, the constructor runs this code and catches an exception:
var desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
_ = Directory.CreateDirectory(desktopPath);
This code catches an exception in these environments because desktopPath is null
The text was updated successfully, but these errors were encountered:
A new method was added to FileLog.cs called Debug(string).
In the past, all calls to log were checked with if(Harmony.DEBUG) but now this new method is called in the FileLog class.
This means that the FileLog static constructor runs when before it didn't.
In environments like dockers on Linux, the constructor runs this code and catches an exception:
This code catches an exception in these environments because desktopPath is null
The text was updated successfully, but these errors were encountered: