feat: Добавить скрипт для настройки Discord.

This commit is contained in:
2025-12-30 22:42:20 +03:00
parent d7a3b20da9
commit e1f71f95ad

View File

@@ -190,11 +190,13 @@ function Select-Apps {
"3" = "Discord + Vesktop"
}
$appChoice = Show-Menu -Options $appOpts
# Discord запускается через Update.exe, нужно перехватывать оба процесса
$result = switch ($appChoice) {
"1" { @("Discord") }
"1" { @("Discord", "Update") }
"2" { @("Vesktop") }
"3" { @("Vesktop", "Discord") }
default { @("Discord") }
"3" { @("Vesktop", "Discord", "Update") }
default { @("Discord", "Update") }
}
return $result
}