summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWindowsAddict2022-04-28 16:54:26 +0000
committerWindowsAddict2022-04-28 16:54:26 +0000
commit03ae00fd77a86a9d356e1d6b7e69f6a6dbb80ae6 (patch)
tree665fdf9dfe0fa95377e142cb1e147b86d03906ec
parent16b25e23738af181d33d0aed86413c6338cd5039 (diff)
downloadmassgrave.dev-03ae00fd77a86a9d356e1d6b7e69f6a6dbb80ae6.zip
Download location to desktop
-rw-r--r--get-mas.ps14
1 files changed, 2 insertions, 2 deletions
diff --git a/get-mas.ps1 b/get-mas.ps1
index ebc051a..47763bb 100644
--- a/get-mas.ps1
+++ b/get-mas.ps1
@@ -8,8 +8,8 @@ function Exit-Script {
)
process {
- if (Test-Path -Path "$env:TEMP\MAS.cmd") {
- Remove-Item -Path "$env:TEMP\MAS.cmd" -Force
+ if (Test-Path -Path "$env:USERPROFILE\Desktop\MAS.cmd") {
+ Remove-Item -Path "$env:USERPROFILE\Desktop\MAS.cmd" -Force
}
exit $ExitCode