Download location to desktop

This commit is contained in:
WindowsAddict 2022-04-28 22:24:26 +05:30
parent 16b25e2373
commit 03ae00fd77

View File

@ -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