diff --git a/index.html b/index.html
index 62646ad..a04b80e 100644
--- a/index.html
+++ b/index.html
@@ -15,7 +15,7 @@ if (-not $args) {
if ($ExecutionContext.SessionState.LanguageMode.value__ -ne 0) {
$ExecutionContext.SessionState.LanguageMode
Write-Host "PowerShell is not running in Full Language Mode."
- Write-Host "Help - https://gravesoft.dev/fix_powershell" -ForegroundColor White -BackgroundColor Blue
+ Write-Host "Help - https://massgrave.dev/fix_powershell" -ForegroundColor White -BackgroundColor Blue
return
}
@@ -25,7 +25,7 @@ if (-not $args) {
catch {
Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Red
Write-Host "Powershell failed to load .NET command."
- Write-Host "Help - https://gravesoft.dev/in-place_repair_upgrade" -ForegroundColor White -BackgroundColor Blue
+ Write-Host "Help - https://massgrave.dev/in-place_repair_upgrade" -ForegroundColor White -BackgroundColor Blue
return
}
@@ -131,10 +131,7 @@ if (-not $args) {
else {
saps -FilePath $env:ComSpec -ArgumentList "/c """"$FilePath"" -el $args""" -Wait -Verb RunAs
}
+
CheckFile $FilePath
-
- $FilePaths = @("$env:SystemRoot\Temp\MAS*.cmd", "$env:USERPROFILE\AppData\Local\Temp\MAS*.cmd")
- foreach ($FilePath in $FilePaths) { Get-Item $FilePath -ErrorAction SilentlyContinue | Remove-Item }
+ Remove-Item -Path $FilePath
} @args
-
-