Use XDG (i.e. `~/.local/bin`) instead of the Cargo home directory in the installer (#14457)

Closes https://github.com/astral-sh/ruff/issues/13927
This commit is contained in:
Zanie Blue 2024-11-19 09:14:28 -06:00 committed by Micha Reiser
parent adfa723464
commit 70d9c90827
1 changed files with 1 additions and 1 deletions

View File

@ -303,4 +303,4 @@ github-custom-job-permissions = { "build-docker" = { packages = "write", content
# Whether to install an updater program
install-updater = false
# Path that installers should place binaries in
install-path = "CARGO_HOME"
install-path = ["$XDG_BIN_HOME/", "$XDG_DATA_HOME/../bin", "~/.local/bin"]