Installers for all platforms and related fixes #1

Merged
LeoVasanko merged 38 commits from installer into main 2026-09-23 17:41:21 +00:00
Showing only changes of commit c59040ce52 - Show all commits
+10 -2
View File
@@ -233,9 +233,17 @@ def build_msi(version: str) -> Path:
def run(tool: str, args: list[str]) -> None:
cmd = [str(wix / tool), *args]
print(f"Running: {' '.join(cmd)}")
result = subprocess.run(cmd, cwd=_REPO_ROOT)
try:
result = subprocess.run(
cmd, cwd=_REPO_ROOT, capture_output=True, text=True
)
except OSError as exc:
raise RuntimeError(f"{tool} failed to start: {exc}") from exc
if result.returncode != 0:
raise RuntimeError(f"{tool} failed with exit code {result.returncode}")
raise RuntimeError(
f"{tool} failed with exit code {result.returncode}\n"
f"stdout:\n{result.stdout}\nstderr:\n{result.stderr}"
)
run("heat.exe", [
"dir", str(dist_folder),