You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a tool like scoop-setup.ps1, after running the command scoop setup arg1, the value of $PSScriptRoot in the command_path method is a empty string.
Expected Behavior
Ability to correctly call the scoop setup arg1 method
Additional context/output
Possible Solution
When $PSSScriptRoot is a null character, you can add a fallback hard-coded path parameter, such as the post_install hook in the configuration below.
System details
Windows version: 11
OS architecture: 64bit
PowerShell version: 5.1.22621.2506
Additional software: [(optional) e.g. ConEmu, Git]
Bug Report
Current Behavior
When adding a tool like scoop-setup.ps1, after running the command
scoop setup arg1
, the value of$PSScriptRoot
in the command_path method is a empty string.Expected Behavior
Ability to correctly call the
scoop setup arg1
methodAdditional context/output
Possible Solution
When
$PSSScriptRoot
is a null character, you can add a fallback hard-coded path parameter, such as the post_install hook in the configuration below.System details
Windows version: 11
OS architecture: 64bit
PowerShell version: 5.1.22621.2506
Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration
The text was updated successfully, but these errors were encountered: