Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Windows symlinks with volta run scripts #1755

Merged
merged 3 commits into from
Jul 9, 2024

Commits on May 16, 2024

  1. Use junctions for directory links on Windows

    Using symlinks on Windows requires that our users enable Developer
    mode, which isn't always possible. For directory links, there is an
    easy solution: NTFS Junctions. These work the same as symlinks but
    do not require administrator privileges nor developer mode.
    charlespierce committed May 16, 2024
    Configuration menu
    Copy the full SHA
    419c382 View commit details
    Browse the repository at this point in the history
  2. Update shim behavior on Windows to use scripts

    Rather than using symlinks, which require administrator privileges
    or developer mode on Windows, we can instead use small scripts that
    call out to 'volta run' to actually handle the execution of 3rd
    party binaries.
    
    This also adds a migration to a new v4 layout, which allows Windows
    installs to migrate immediately to using the script-based shims.
    charlespierce committed May 16, 2024
    Configuration menu
    Copy the full SHA
    fa04c75 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f91be3 View commit details
    Browse the repository at this point in the history