diff --git a/build_windows.ps1 b/build_windows.ps1 index c4789ab..1783d5b 100644 --- a/build_windows.ps1 +++ b/build_windows.ps1 @@ -5,6 +5,13 @@ $ErrorActionPreference = "Stop" Set-Location $PSScriptRoot +# Kill moi daw_engine con song tu build/truoc (windowed, khong console -> +# de quen -> file exe dang chay bi khoa -> Tauri build loi PermissionDenied +# khi doc externalBin). Stop-Process im lang neu khong co tien trinh nao. +Write-Host "== [0/6] Kill daw_engine.exe cu (neu dang chay) ==" +Get-Process -Name "daw_engine" -ErrorAction SilentlyContinue | Stop-Process -Force -ErrorAction SilentlyContinue +Start-Sleep -Milliseconds 500 + Write-Host "== [1/6] Python dependencies ==" python -m pip install --upgrade pip python -m pip install -r requirements.txt pyinstaller pywin32