Changed into list and iterator

This commit is contained in:
2024-10-21 15:26:29 +02:00
parent ae457f041f
commit 2a873eb327

View File

@@ -1,16 +1,24 @@
# Install requirements via winget # Install requirements via winget
winget install gnupg.gpg4win $packages = @(
winget install microsoft.teams "gnupg.gpg4win",
winget install putty.putty "microsoft.teams",
winget install microsoft.windowsterminal "putty.putty",
winget install git.git "microsoft.windowsterminal",
winget install mozilla.firefox "git.git",
winget install Microsoft.VisualStudio.2022.Community "mozilla.firefox",
winget install jandedobbeleer.ohmyposh "Microsoft.VisualStudio.2022.Community",
winget install IJHack.QtPass "jandedobbeleer.ohmyposh",
winget install Microsoft.powertoys "IJHack.QtPass",
winget install google.chrome "Microsoft.powertoys",
"google.chrome",
"spotify.spotify"
)
# Iterate through each package and install it
foreach ($package in $packages) {
winget install $package
}
# Install mini driver for yubikey # Install mini driver for yubikey
# Follow dr duhs yubikey guide for setting up gpg agent and trusting certificate # Follow dr duhs yubikey guide for setting up gpg agent and trusting certificate