Skip to content

Commit

Permalink
Autorun patch
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszCichecki committed Apr 10, 2023
1 parent df6cb56 commit 15f8f53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LenovoLegionToolkit.Lib/System/Autorun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ private static void Enable(bool delayed)
td.Actions.Add($"\"{filename}\"", "--minimized");
td.Settings.DisallowStartIfOnBatteries = false;
td.Settings.StopIfGoingOnBatteries = false;
td.Settings.ExecutionTimeLimit = TimeSpan.Zero;
ts.RootFolder.RegisterTaskDefinition(TASK_NAME, td);

if (Log.Instance.IsTraceEnabled)
Expand Down

0 comments on commit 15f8f53

Please sign in to comment.