Skip to content

Use symlinks on Windows instead of cmd file#197

Merged
agocke merged 1 commit intodn-vm:mainfrom
agocke:symlinks-on-windows
Apr 6, 2025
Merged

Use symlinks on Windows instead of cmd file#197
agocke merged 1 commit intodn-vm:mainfrom
agocke:symlinks-on-windows

Conversation

@agocke
Copy link
Collaborator

@agocke agocke commented Apr 6, 2025

One of the core pieces of functionality in dnvm is swapping between different isolated installs in different directories. To switch between directories, the implementation on Unix-like systems uses symlinks. The Windows implementation used a cmd file since the muxer didn't support being run behind a symlink. In .NET 9 that restriction was lifted, so we can use symlinks everywhere.

Fixes #189

One of the core pieces of functionality in dnvm is swapping between
different isolated installs in different directories. To switch between
directories, the implementation on Unix-like systems uses symlinks. The
Windows implementation used a cmd file since the muxer didn't support
being run behind a symlink. In .NET 9 that restriction was lifted, so we
can use symlinks everywhere.
@agocke agocke merged commit 0af4296 into dn-vm:main Apr 6, 2025
3 checks passed
@agocke agocke deleted the symlinks-on-windows branch April 6, 2025 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move Windows to use symlinks

1 participant