diff --git a/winfs/Scripts/Startup.cmd b/winfs/Scripts/Startup.cmd index 1afe89f..6fc43fe 100644 --- a/winfs/Scripts/Startup.cmd +++ b/winfs/Scripts/Startup.cmd @@ -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" diff --git a/winfs/Scripts/Startup.ps1 b/winfs/Scripts/Startup.ps1 index e4adcc2..0389415 100644 --- a/winfs/Scripts/Startup.ps1 +++ b/winfs/Scripts/Startup.ps1 @@ -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;