PortValhalla/scripts/Windows/Software/posh-git/Install.ps1

8 lines
296 B
PowerShell

#!/bin/pwsh
param($context);
. "$PSScriptRoot/../../Scripts/Context.ps1";
[Context] $context = $context;
Install-Module -AcceptLicense -Scope AllUsers -Force posh-git;
powershell -c "Install-Module -Scope AllUsers -Force posh-git;";
. "$PSScriptRoot/../../Config/posh-git/Install.ps1" $context;