mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Startup counter
This commit is contained in:
@@ -69,6 +69,10 @@ namespace GHelper
|
||||
Logger.WriteLine("------------");
|
||||
Logger.WriteLine("App launched: " + AppConfig.GetModel() + " :" + Assembly.GetExecutingAssembly().GetName().Version.ToString() + CultureInfo.CurrentUICulture + (ProcessHelper.IsUserAdministrator() ? "." : ""));
|
||||
|
||||
var startCount = AppConfig.Get("start_count") + 1;
|
||||
AppConfig.Set("start_count", startCount);
|
||||
Logger.WriteLine("Start Count: " + startCount);
|
||||
|
||||
acpi = new AsusACPI();
|
||||
|
||||
if (!acpi.IsConnected() && AppConfig.IsASUS())
|
||||
|
||||
Reference in New Issue
Block a user