Files
2026-10-11 14:12:10 +03:00

13 lines
575 B
PowerShell

# После правок в Cursor: собирает веб-приложение и копирует его в Android-проект.
# Запуск: powershell -ExecutionPolicy Bypass -File C:\Dev\Benchpress\frontend\scripts\update-app.ps1
$ErrorActionPreference = "Stop"
$frontend = Resolve-Path (Join-Path $PSScriptRoot "..")
Set-Location $frontend
Write-Host "Сборка веб-части и cap sync..."
npm run cap:sync
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Write-Host "Готово. Дальше: .\build-apk.ps1, затем .\install-emulator.ps1"