This commit is contained in:
psyirius 2024-08-21 04:15:25 -07:00
parent 73de4ac817
commit d5d90d4fb1

View File

@ -57,7 +57,7 @@ $script_content.Add($header)
Update-Progress "Adding: Version" 10
$commitHash = (git rev-parse HEAD).Substring(0,16)
$gitStatus = if ((git status --porcelain=v1 2>$null).Count -gt 0) { "dirty" } else { "clean" }
$gitStatus = (git status --porcelain).Trim()
$scriptPrelude = $(Get-Content "$workingdir\scripts\start.ps1")