From 26f72cc8ba79fb92406bd8a7668ce99aa6f996b4 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 1 May 2023 01:53:01 +0200 Subject: [PATCH] Add install packages --- src/Configuration/custom.yml | 1 + .../features/personalization/packages.yml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/Configuration/features/personalization/packages.yml diff --git a/src/Configuration/custom.yml b/src/Configuration/custom.yml index 6de11a7..d89c87b 100644 --- a/src/Configuration/custom.yml +++ b/src/Configuration/custom.yml @@ -15,3 +15,4 @@ features: - features\personalization\explorer.yml - features\personalization\taskbar.yml - features\personalization\context-menu.yml + - features\personalization\packages.yml diff --git a/src/Configuration/features/personalization/packages.yml b/src/Configuration/features/personalization/packages.yml new file mode 100644 index 0000000..fc093a1 --- /dev/null +++ b/src/Configuration/features/personalization/packages.yml @@ -0,0 +1,19 @@ +--- +title: Packages +description: Install packages +privilege: TrustedInstaller +actions: + - !writeStatus: { status: 'Installing Chocolatey' } + - !powerShell: + command: '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''))' + weight: 30 + + - !writeStatus: { status: 'Installing Firefox' } + - !cmd: + command: '"%ProgramData%\chocolatey\bin\choco.exe" install -y --force --allow-empty-checksums firefox' + weight: 150 + + - !writeStatus: { status: 'Installing steam' } + - !cmd: + command: '"%ProgramData%\chocolatey\bin\choco.exe" install -y --force --allow-empty-checksums steam' + weight: 150