aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/installer/context.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2023-04-23 22:43:56 +0200
committerGitHub <noreply@github.com>2023-04-23 22:43:56 +0200
commit9a68a4bd997b72cee4132459e0fd99eea0cdc627 (patch)
tree9653770242717851377e4cda62be36902c1e416c /lua/mason-core/installer/context.lua
parentfix(linker): don't symlink on Windows (#1253) (diff)
downloadmason-9a68a4bd997b72cee4132459e0fd99eea0cdc627.tar
mason-9a68a4bd997b72cee4132459e0fd99eea0cdc627.tar.gz
mason-9a68a4bd997b72cee4132459e0fd99eea0cdc627.tar.bz2
mason-9a68a4bd997b72cee4132459e0fd99eea0cdc627.tar.lz
mason-9a68a4bd997b72cee4132459e0fd99eea0cdc627.tar.xz
mason-9a68a4bd997b72cee4132459e0fd99eea0cdc627.tar.zst
mason-9a68a4bd997b72cee4132459e0fd99eea0cdc627.zip
refactor(linker): copy_file instead of rename on Windows (#1254)
Renaming the file will move it from its original installation directory. While reaching into package installation directories is unsupported and not recommended, it seems to be done pretty broadly. In order to avoid unnecessarily breaking people's configs we copy the file instead, for now. (tip: use the stable locations inside $MASON/share $MASON/opt $MASON/bin, if a package is missing a link please open an issue/PR). This will be reversed back to use uv_fs_rename() in 1.x.x.
Diffstat (limited to 'lua/mason-core/installer/context.lua')
0 files changed, 0 insertions, 0 deletions