File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using System ;
2+ using System . Diagnostics ;
23using System . Linq ;
34using System . Security . Principal ;
45using Flow . Launcher . Infrastructure ;
@@ -65,7 +66,7 @@ private static bool CheckLogonTask()
6566 {
6667 var action = taskAction . ToString ( ) . Trim ( ) ;
6768 var needsRecreation = ! action . Equals ( Constant . ExecutablePath , StringComparison . OrdinalIgnoreCase )
68- || task . Definition . Settings . Priority != System . Diagnostics . ProcessPriorityClass . Normal ;
69+ || task . Definition . Settings . Priority != ProcessPriorityClass . Normal ;
6970 if ( needsRecreation )
7071 {
7172 UnscheduleLogonTask ( ) ;
@@ -186,7 +187,7 @@ private static bool ScheduleLogonTask()
186187 td . Settings . StopIfGoingOnBatteries = false ;
187188 td . Settings . DisallowStartIfOnBatteries = false ;
188189 td . Settings . ExecutionTimeLimit = TimeSpan . Zero ;
189- td . Settings . Priority = System . Diagnostics . ProcessPriorityClass . Normal ;
190+ td . Settings . Priority = ProcessPriorityClass . Normal ;
190191
191192 try
192193 {
You can’t perform that action at this time.
0 commit comments