Add components for running setup script
This commit is contained in:
parent
17491679f7
commit
5b0c8b8a93
1 changed files with 12 additions and 1 deletions
|
@ -232,7 +232,18 @@ Notes:
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>5</Order>
|
<Order>5</Order>
|
||||||
<RequiresUserInput>false</RequiresUserInput>
|
<RequiresUserInput>false</RequiresUserInput>
|
||||||
<CommandLine>powershell -c "Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'));"</CommandLine>
|
<CommandLine>powershell -c
|
||||||
|
Set-ExecutionPolicy Bypass -Scope Process -Force;
|
||||||
|
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
|
||||||
|
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'));
|
||||||
|
|
||||||
|
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;
|
||||||
|
cd $env:USERPROFILE/Documents;
|
||||||
|
git clone https://git.nuth.ch/manuth/PortValhalla.git;</CommandLine>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
</FirstLogonCommands>
|
</FirstLogonCommands>
|
||||||
<TimeZone>W. Europe Standard Time</TimeZone>
|
<TimeZone>W. Europe Standard Time</TimeZone>
|
||||||
|
|
Loading…
Reference in a new issue