Add git to the temporary PATH

This commit is contained in:
Manuel Thalmann 2023-07-13 00:14:01 +02:00
parent e6484b0195
commit 70645bf34c
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
@echo off
wpeutil SetKeyboardLayout 0807:00000807
echo Launching Startup Script...
start X:\PowerShell\pwsh.exe -ExecutionPolicy bypass -file "X:\Scripts\Startup.ps1"
start X:\PowerShell\pwsh.exe -NoExit -ExecutionPolicy bypass -file "X:\Scripts\Startup.ps1"

View file

@ -1,6 +1,6 @@
$null = $env:WIN_COMPUTER_NAME;
$null = $env:SETUP_SCRIPT_NAME;
& "X:/git/bin/git.exe" clone https://git.nuth.ch/manuth/PortValhalla.git;
Set-Alias git "X:/git/bin/git.exe";
git clone https://git.nuth.ch/manuth/PortValhalla.git;
Set-Location PortValhalla;
pwsh;