Add scripts for setting up chocolatey

This commit is contained in:
Manuel Thalmann 2023-07-18 17:49:54 +02:00
commit 45afef2301
3 changed files with 12 additions and 0 deletions
scripts/Windows/Software/chocolatey

View file

@ -0,0 +1,4 @@
#!/bin/pwsh
. "$PSScriptRoot/profile.ps1";
powershell "$PSScriptRoot/profile.ps1";
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1";

View file

@ -0,0 +1,6 @@
#!/bin/pwsh
if (-not (Test-Path -PathType Leaf $PROFILE)) {
New-Item -Force $PROFILE;
}
choco install --force chocolatey;