From 9a77f33029b627da78d39855b7dca985ed65a7f7 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 23 Jun 2023 20:18:21 +0200 Subject: [PATCH] Store scripts in a non-user directory --- Autounattend.template.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Autounattend.template.xml b/Autounattend.template.xml index de11b24..80e2401 100644 --- a/Autounattend.template.xml +++ b/Autounattend.template.xml @@ -230,7 +230,8 @@ 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 $env:USERPROFILE/Documents; + + cd C:\; git clone https://git.nuth.ch/manuth/PortValhalla.git; Install PowerShell Core and git and run setup