Make Raven Muninn serve a real daemon

This commit is contained in:
Meta Vens 2026-06-19 23:48:35 +01:00
commit b70bd02ee5
3 changed files with 26 additions and 9 deletions

View file

@ -244,7 +244,7 @@ New-Item -ItemType Directory -Force -Path (Split-Path -Parent `$target) | Out-Nu
Get-CimInstance Win32_Process |
Where-Object { `$_.Name -ieq "muninn.exe" } |
ForEach-Object {
& taskkill.exe /PID `$_.ProcessId /T /F | Out-Null
& cmd.exe /c ("taskkill /PID {0} /T /F >nul 2>&1" -f `$_.ProcessId) | Out-Null
}
if (Test-Path -LiteralPath `$target) {