diff options
| author | neko | 2026-01-08 12:49:48 +0000 |
|---|---|---|
| committer | GitHub | 2026-01-08 12:49:48 +0000 |
| commit | 42dde682f0e601eb6e36ddaee6c5ece58649d441 (patch) | |
| tree | 1163b34a34291caa71ae06bb32ff9b7edd77ee9c | |
| parent | 83da08ecb301a49c4d8bfe7fd1d0507ab169be77 (diff) | |
| download | massgravel.github.io-42dde682f0e601eb6e36ddaee6c5ece58649d441.zip | |
Clear false detection
| -rw-r--r-- | index.html | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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
-
-
|
