diff options
| author | William Boman <william@redwill.se> | 2023-04-23 22:25:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-23 22:25:51 +0200 |
| commit | b03c163f12684c21f43b98208ada78145763c6f1 (patch) | |
| tree | f2875067c3ddcd3eda47c7161725c9ab5807f84b /lua/mason-core/functional/function.lua | |
| parent | fix(expr): fix strip_{prefix,suffix} (#1249) (diff) | |
| download | mason-b03c163f12684c21f43b98208ada78145763c6f1.tar mason-b03c163f12684c21f43b98208ada78145763c6f1.tar.gz mason-b03c163f12684c21f43b98208ada78145763c6f1.tar.bz2 mason-b03c163f12684c21f43b98208ada78145763c6f1.tar.lz mason-b03c163f12684c21f43b98208ada78145763c6f1.tar.xz mason-b03c163f12684c21f43b98208ada78145763c6f1.tar.zst mason-b03c163f12684c21f43b98208ada78145763c6f1.zip | |
fix(linker): don't symlink on Windows (#1253)
1) FAT (FAT32, exFAT, etc.) file systems doesn't support symlinks.
2) You need administrator access in order to create symlinks.
This was working for me locally because I'm running a NTFS fs with
"Developer Mode" enabled in Windows 10, which bypasses administrator
requirement for mklink.
Instead we uv_fs_rename() links. This should effectively be the same,
but will require special handling down the road if/when for example
multiple package versions can be installed at the same time. When
unlinking a package the renamed files should me moved back into the
package installation directory, instead of simply being unlinked (i.e.
removed).
Closes #1251.
Diffstat (limited to 'lua/mason-core/functional/function.lua')
0 files changed, 0 insertions, 0 deletions
