SteamController/PowerControl: Create Logs in Documents/SteamDeckTools/Logs

This commit is contained in:
Kamil Trzciński 2023-05-21 18:47:38 +02:00
parent 8327c0da86
commit 708aac3166
6 changed files with 116 additions and 13 deletions

View file

@ -50,6 +50,10 @@ namespace PowerControl
startupManager.Startup = false;
});
Log.CleanupLogFiles(DateTime.UtcNow.AddDays(-7));
Log.LogToFile = true;
Log.LogToFileDebug = true;
Instance.RunOnce(TitleWithVersion, "Global\\PowerControl");
Instance.RunUpdater(TitleWithVersion);