Update -logs.ps1
This commit is contained in:
parent
93a8845b3a
commit
cef60bb382
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ while ($true) {
|
||||||
# sleeps
|
# sleeps
|
||||||
$Lctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'LeftCtrl')
|
$Lctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'LeftCtrl')
|
||||||
$Rctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'RightCtrl')
|
$Rctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'RightCtrl')
|
||||||
if((get-date) -gt (Get-content "$env:appdata\-locker\killswitch.txt" -or $Rctrl -and $Lctrl)){exit}
|
if((Get-Content "$env:appdata\-locker\killswitch.txt") -ne $null -and ((get-date) -gt (Get-content "$env:appdata\-locker\killswitch.txt")) -or ($Rctrl -and $Lctrl)){exit}
|
||||||
(Get-Date -Date $t) - (Get-Date) | Start-Sleep
|
(Get-Date -Date $t) - (Get-Date) | Start-Sleep
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue