Open
Description
Hello,
I was trying to use your script to install some random powershell module on github.
I stumbled upon an error that happens during the Expand-Archive phase.
It looks like using a file hash generates as a folder name that is too long for windows (well I guess).
I did have to do some debugging because the Expand-Archive cmdlet does not show the correct error message when the path is too loong => PowerShell/Microsoft.PowerShell.Archive#69
To fix it temporarily I replaced line 53 of InstallModuleFromGitHub.psm1 $tmpDir = "$tmpDir/$fileHash" with $tmpDir = "$tmpDir/$targetModuleName" directly in C:\Program Files\WindowsPowerShell\Modules\InstallModuleFromGitHub\1.4.0.
Metadata
Metadata
Assignees
Labels
No labels