From 466bf25a0bead489f62aa934624a3c6eb46a092b Mon Sep 17 00:00:00 2001 From: locpham Date: Sun, 9 Aug 2026 03:12:00 +0000 Subject: [PATCH] =?UTF-8?q?FIX:=20build=5Fwindows.ps1=20buoc=20[0/6]=20kil?= =?UTF-8?q?l=20daw=5Fengine.exe=20cu=20dang=20chay=20=E2=80=94=20file=20ex?= =?UTF-8?q?e=20bi=20khoa=20->=20Tauri=20build=20PermissionDenied=20externa?= =?UTF-8?q?lBin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build_windows.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) 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