Not all PowerShell Modules are published to the PowerShellGallery but are hosted on GitHub.
via #25
- on non-unix platforms, fixed the psd1 file search join-path on line 87 was joining two full paths, which is not a valid result.
Thank you to Max Renner for the pull request.
- Use [System.Environment]::OSVersion.Platform -eq "Unix" as a catch all for non-windows systems
- Replaced the hard coded Module paths assigned to $dest with environment variables instead.
- Added if logic for Windows vs Non-Windows machines in assigning $psd1 and in the final Copy-Item statement.
- Fix module installation path (Thanks JonathanPitre)
- Allow for copying folders recursively. Thank you to: