mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
initial work, added github to setting,
change update manage from static created log folder prop for log class
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Wox
|
||||
|
||||
private void SetException(Exception exception)
|
||||
{
|
||||
string path = Path.Combine(Constant.DataDirectory, Log.DirectoryName, Constant.Version);
|
||||
string path = Log.CurrentLogDirectory;
|
||||
var directory = new DirectoryInfo(path);
|
||||
var log = directory.GetFiles().OrderByDescending(f => f.LastWriteTime).First();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user