fix: build_windows.ps1 ASCII-only (PS 5.1)
This commit is contained in:
+2
-2
@@ -70,10 +70,10 @@ if (-not (Test-Path src-tauri\vc_redist.x64.exe)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "== [6/6] Tauri build (NSIS .exe + MSI) =="
|
Write-Host "== [6/6] Tauri build (NSIS .exe + MSI) =="
|
||||||
# Guard: resources/daw_engine PHẢI có exe + _internal trước khi tauri build —
|
# Guard: resources/daw_engine PHAI co exe + _internal truoc khi tauri build —
|
||||||
# glob trong tauri.conf.json fail ngay ("path not found") neu thieu.
|
# glob trong tauri.conf.json fail ngay ("path not found") neu thieu.
|
||||||
if (-not (Test-Path "src-tauri\resources\daw_engine\daw_engine.exe")) {
|
if (-not (Test-Path "src-tauri\resources\daw_engine\daw_engine.exe")) {
|
||||||
Write-Host "ERROR: src-tauri\resources\daw_engine\daw_engine.exe khong co — buoc [4/6] that bai?" -ForegroundColor Red
|
Write-Host "ERROR: src-tauri\resources\daw_engine\daw_engine.exe khong co - buoc [4/6] that bai?" -ForegroundColor Red
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
if (-not (Test-Path "src-tauri\resources\daw_engine\_internal")) {
|
if (-not (Test-Path "src-tauri\resources\daw_engine\_internal")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user