FIX: build_windows.ps1 buoc [0/6] kill daw_engine.exe cu dang chay — file exe bi khoa -> Tauri build PermissionDenied externalBin

This commit is contained in:
2026-08-09 03:12:00 +00:00
parent 52e1dc6eda
commit 466bf25a0b
+7
View File
@@ -5,6 +5,13 @@
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
Set-Location $PSScriptRoot 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 ==" Write-Host "== [1/6] Python dependencies =="
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install -r requirements.txt pyinstaller pywin32 python -m pip install -r requirements.txt pyinstaller pywin32