Compare commits

...

2 commits

Author SHA1 Message Date
a359413498 Remove unnecessary indentation 2023-12-08 02:15:08 +01:00
2d7c690c68 Remove redundant command 2023-12-08 02:14:52 +01:00

View file

@ -220,20 +220,19 @@
<Order>3</Order>
<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'));
[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;
Import-Module $env:ChocolateyInstall/helpers/chocolateyProfile.psm1;
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;
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>
cd C:/;
git clone https://git.nuth.ch/manuth/PortValhalla.git;
cd PortValhalla;</CommandLine>
<Description>Install PowerShell Core and git and run setup</Description>
</SynchronousCommand>
</FirstLogonCommands>