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

When using NO_JUNCTIONS config, helpers like dark or lessmsi are not found #4350

Closed
dwettstein opened this issue May 7, 2021 · 1 comment

Comments

@dwettstein
Copy link

dwettstein commented May 7, 2021

The NO_JUNCTIONS config can be used if users don't want or cannot use the current symlinks.

NO_JUNCTIONS: $true|$false
The 'Current' version alias will not be used.
Shims and shortcuts will point to specific version instead.

Unfortunately, when this setting is set to true, Scoop doesn't find decompression helpers like dark or lessmsi anymore. Reason is, the method Get-AppFilePath used by Get-HelperPath searches for a hard-coded path current.

https://github.com/lukesampson/scoop/blob/3d67b7d37c4a2714e8942724d4677dcbd3678f01/lib/core.ps1#L220
at https://github.com/lukesampson/scoop/blob/3d67b7d37c4a2714e8942724d4677dcbd3678f01/lib/core.ps1#L208
at https://github.com/lukesampson/scoop/blob/3d67b7d37c4a2714e8942724d4677dcbd3678f01/lib/core.ps1#L242

Eventually this could be fixed, if Scoop would use the shims instead of looking at current path?

@rashil2000
Copy link
Member

Closed in #4722

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

No branches or pull requests

2 participants