Initial curated chimera source from a8ae5b1db07fb49926c94585e2718e5130330974
This commit is contained in:
commit
c737a37f71
531 files changed
+119270
No files matched your search
@@ -0,0 +1,15 @@
|
||||
$ErrorActionPreference = 'SilentlyContinue'
|
||||
$taskName = 'Chimera Remote Play Worker'
|
||||
$target = Join-Path $env:LOCALAPPDATA 'Chimera\RemotePlayWorker'
|
||||
$clientTarget = Join-Path $env:LOCALAPPDATA 'Chimera\RemotePlayClient'
|
||||
Stop-ScheduledTask -TaskName $taskName
|
||||
Unregister-ScheduledTask -TaskName $taskName -Confirm:$false
|
||||
foreach ($candidate in @($clientTarget, $target)) {
|
||||
if (-not (Test-Path -LiteralPath $candidate)) { continue }
|
||||
$resolved = (Resolve-Path -LiteralPath $candidate).Path
|
||||
$localRoot = [IO.Path]::GetFullPath($env:LOCALAPPDATA).TrimEnd('\') + '\'
|
||||
if ($resolved -eq [IO.Path]::GetFullPath($candidate) -and $resolved.StartsWith($localRoot, [System.StringComparison]::OrdinalIgnoreCase)) {
|
||||
Remove-Item -LiteralPath $resolved -Recurse -Force
|
||||
}
|
||||
}
|
||||
Write-Host 'Chimera Remote Play Worker en beheerde client zijn verwijderd.' -ForegroundColor Green
|
||||
Reference in new issue
Block a user