Install winget
after refreshing environment
This commit is contained in:
parent
8c028ee27a
commit
7bcac96d7a
1 changed files with 4 additions and 4 deletions
|
@ -224,15 +224,15 @@ iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocola
|
|||
|
||||
Import-Module $env:ChocolateyInstall/helpers/chocolateyProfile.psm1;
|
||||
|
||||
choco install -y git --params='/WindowsTerminalProfile /DefaultBranchName:main';
|
||||
choco install -y powershell-core --install-arguments='"ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1"';
|
||||
refreshenv;
|
||||
|
||||
if (-not $(Get-Command winget))
|
||||
{
|
||||
choco install -y winget;
|
||||
}
|
||||
|
||||
choco install -y git --params='/WindowsTerminalProfile /DefaultBranchName:main';
|
||||
choco install -y powershell-core --install-arguments='"ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1"';
|
||||
refreshenv;
|
||||
|
||||
cd C:/;
|
||||
git clone https://git.nuth.ch/manuth/PortValhalla.git;
|
||||
cd PortValhalla;</CommandLine>
|
||||
|
|
Loading…
Reference in a new issue