From d9dccc9f46abc85a227b4bf1593a22bb23da5dc8 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Thu, 19 Jun 2025 18:56:14 -0400 Subject: [PATCH] fix install path resolution --- install.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.ps1 b/install.ps1 index 784d60c..123ed0b 100755 --- a/install.ps1 +++ b/install.ps1 @@ -54,7 +54,8 @@ if (Get-Command pipx -ErrorAction SilentlyContinue) { pipx install voxvera --force } catch { Write-Host 'pipx install failed, downloading binary' - $dest = "$HOME/.local/bin" + $home = [Environment]::GetFolderPath('UserProfile') + $dest = Join-Path $home '.local\bin' New-Item -ItemType Directory -Path $dest -Force | Out-Null $url = 'https://github.com/PR0M3TH3AN/VoxVera/releases/latest/download/voxvera.exe' if (-not (Download-Binary $url "$dest/voxvera.exe")) { @@ -63,7 +64,8 @@ if (Get-Command pipx -ErrorAction SilentlyContinue) { } } } else { - $dest = "$HOME/.local/bin" + $home = [Environment]::GetFolderPath('UserProfile') + $dest = Join-Path $home '.local\bin' New-Item -ItemType Directory -Path $dest -Force | Out-Null $url = 'https://github.com/PR0M3TH3AN/VoxVera/releases/latest/download/voxvera.exe' if (-not (Download-Binary $url "$dest/voxvera.exe")) {