Fix: background splitting bug

This commit is contained in:
DaZuo0122
2026-02-14 17:08:29 +08:00
parent 901bf0ffc3
commit 1fa7080210
10 changed files with 348 additions and 34 deletions

View File

@@ -153,6 +153,8 @@ def sha256_file(path: Path) -> str:
def package(frontend: FrontendLayout) -> PackageLayout:
version = read_version()
ensure_assets()
if frontend.id == "tauri":
run(["npm", "--prefix", "frontend/tauri-ui", "run", "build"])
binary = ensure_release_binary(frontend)
runtime_files = ensure_runtime_files(frontend, binary.parent)