8 lines
389 B
PowerShell
8 lines
389 B
PowerShell
$ErrorActionPreference = 'Stop'
|
|
$sgfProject = 'C:\laragon\www\sgf-tempo'
|
|
Push-Location -LiteralPath $sgfProject
|
|
try {
|
|
& 'C:\laragon\tools\sgf-tempo\node-v24.22.1-win-arm64\node.exe' 'scripts/purchasing-single-installation.mjs' 'start'
|
|
if ($LASTEXITCODE -ne 0) { throw 'Não foi possível abrir a instalação de Compras. Nenhuma base nova foi criada.' }
|
|
} finally { Pop-Location }
|