You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
353 B
18 lines
353 B
$ErrorActionPreference = 'Stop'
|
|
|
|
Write-Host 'Building React UI (static assets)...'
|
|
Push-Location 'apps\dsa-web'
|
|
if (!(Test-Path 'node_modules')) {
|
|
npm install
|
|
}
|
|
npm run build
|
|
Pop-Location
|
|
|
|
Write-Host 'Starting Electron desktop (dev mode)...'
|
|
Push-Location 'apps\dsa-desktop'
|
|
if (!(Test-Path 'node_modules')) {
|
|
npm install
|
|
}
|
|
npm run dev
|
|
Pop-Location
|