Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27680382fa |
@@ -72,4 +72,8 @@ if (-not (Test-Path "$TargetDir\.env") -and (Test-Path "$TargetDir\.env.template
|
|||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "[3/3] Launching scripts\install.bat..." -ForegroundColor Green
|
Write-Host "[3/3] Launching scripts\install.bat..." -ForegroundColor Green
|
||||||
Start-Process -FilePath "$TargetDir\scripts\install.bat" -WorkingDirectory "$TargetDir\scripts"
|
$InstallScript = "$TargetDir\scripts\install.bat"
|
||||||
|
if (-not (Test-Path $InstallScript)) {
|
||||||
|
throw "Cannot find $InstallScript after extraction!"
|
||||||
|
}
|
||||||
|
Start-Process -FilePath "cmd.exe" -ArgumentList "/c `"$InstallScript`"" -WorkingDirectory "$TargetDir\scripts"
|
||||||
Reference in New Issue
Block a user