mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2026-10-27 09:40:40 +00:00
23 lines
557 B
PowerShell
23 lines
557 B
PowerShell
$ErrorActionPreference = 'SilentlyContinue'
|
|
|
|
Write-Host "Uninstalling VoxVera..."
|
|
|
|
# 1. Uninstall via pipx
|
|
if (Get-Command pipx -ErrorAction SilentlyContinue) {
|
|
pipx uninstall voxvera | Out-Null
|
|
}
|
|
|
|
# 2. Uninstall via pip
|
|
if (Get-Command pip -ErrorAction SilentlyContinue) {
|
|
pip uninstall -y voxvera | Out-Null
|
|
}
|
|
|
|
# 3. Remove manual binary
|
|
$home = [Environment]::GetFolderPath('UserProfile')
|
|
$exePath = Join-Path $home '.local\bin\voxvera.exe'
|
|
if (Test-Path $exePath) {
|
|
Remove-Item $exePath -Force
|
|
}
|
|
|
|
Write-Host "`nVoxVera has been uninstalled."
|