diff options
| author | WindowsAddict | 2022-04-28 17:00:09 +0000 |
|---|---|---|
| committer | WindowsAddict | 2022-04-28 17:00:09 +0000 |
| commit | 15509e8ddc6b8fc3a392b336a38b1ebb23dbb583 (patch) | |
| tree | 2d38558ca7d61b64695657e939f89bc0d34942f0 | |
| parent | 03ae00fd77a86a9d356e1d6b7e69f6a6dbb80ae6 (diff) | |
| download | massgrave.dev-15509e8ddc6b8fc3a392b336a38b1ebb23dbb583.zip | |
Revert back
| -rw-r--r-- | get-mas.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/get-mas.ps1 b/get-mas.ps1 index 47763bb..ebc051a 100644 --- a/get-mas.ps1 +++ b/get-mas.ps1 @@ -8,8 +8,8 @@ function Exit-Script { ) process { - if (Test-Path -Path "$env:USERPROFILE\Desktop\MAS.cmd") { - Remove-Item -Path "$env:USERPROFILE\Desktop\MAS.cmd" -Force + if (Test-Path -Path "$env:TEMP\MAS.cmd") { + Remove-Item -Path "$env:TEMP\MAS.cmd" -Force } exit $ExitCode |
