Skip to content

Commit dd9d825

Browse files
committed
feat(install): update default install directory to standard XDG/AppData paths
1 parent e6bc3f5 commit dd9d825

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function Main {
304304
$resolvedVersion = Resolve-Version
305305

306306
if (-not $InstallDir) {
307-
$InstallDir = Join-Path $HOME ".unirtm\bin"
307+
$InstallDir = Join-Path $HOME "AppData\Local\unirtm\bin"
308308
}
309309

310310
$download = Download-And-Verify -ResolvedVersion $resolvedVersion -Arch $arch

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ install_binary() {
268268
if [ "$(id -u)" = "0" ]; then
269269
INSTALL_DIR="/usr/local/bin"
270270
else
271-
INSTALL_DIR="$HOME/.unirtm/bin"
271+
INSTALL_DIR="$HOME/.local/bin"
272272
fi
273273
fi
274274

0 commit comments

Comments
 (0)