feat: Добавлена установка и управление sing-box, настройка Discord и общие системные утилиты для задач и брандмауэра.
This commit is contained in:
@@ -2,11 +2,15 @@
|
||||
# 🗑️ UNINSTALL ALL (CLEANUP)
|
||||
# ==========================================
|
||||
|
||||
param([switch]$Debug)
|
||||
|
||||
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
. "$ScriptDir\lib\Common.ps1"
|
||||
. "$ScriptDir\lib\System.ps1"
|
||||
|
||||
Write-Header "ПОЛНОЕ УДАЛЕНИЕ"
|
||||
if ($Debug) { Set-DebugMode -Enabled $true }
|
||||
|
||||
Write-Header "ПОЛНОЕ УДАЛЕНИЕ" -ClearScreen
|
||||
|
||||
Ensure-Admin
|
||||
|
||||
@@ -27,11 +31,17 @@ if (Test-Path "C:\Tools\sing-box") {
|
||||
Write-Success "Файлы удалены"
|
||||
}
|
||||
|
||||
Write-Step "Удаление Discrod Proxy (ProxiFyre)..."
|
||||
Write-Step "Удаление Discord Proxy (ProxiFyre)..."
|
||||
$pfDir = "C:\Tools\ProxiFyre"
|
||||
if (Test-Path "$pfDir\ProxiFyre.exe") {
|
||||
Start-Process "$pfDir\ProxiFyre.exe" -ArgumentList "uninstall" -Wait -NoNewWindow
|
||||
if (Get-DebugMode) {
|
||||
& "$pfDir\ProxiFyre.exe" uninstall
|
||||
}
|
||||
else {
|
||||
& "$pfDir\ProxiFyre.exe" uninstall 2>&1 | Out-Null
|
||||
}
|
||||
Start-Sleep -Seconds 2
|
||||
Write-Success "Служба удалена"
|
||||
}
|
||||
|
||||
if (Test-Path $pfDir) {
|
||||
|
||||
Reference in New Issue
Block a user