Add scripts for setting up chocolatey

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

View file

@ -33,6 +33,8 @@ function Restore-PersonalApps([Context] $context) {
Install-PersonalDrivers $context;
}
. "$PSScriptRoot/../Software/chocolatey/Install.ps1";
# Backed up applications
Restore-Git $context;
Restore-LogitechGHUB $context;

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;