Skip to content

fix(build): the Windows engine freeze runs again (0.15.1) - #25

Merged
nodemode-ai merged 2 commits into
mainfrom
fix/windows-freeze-0.15.1
Dec 1, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
fix/windows-freeze-0.15.1

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

fix(build): the Windows engine freeze runs again (0.15.1)

Summary

  • Windows builds fail at the engine freeze with pyinstaller: error: unrecognized arguments: ...\backend\formrig_engine.py, the same fault seen in FormAT, FormSubstrate and FormLit.
  • Cause: in setup/freeze_backend.bat the --add-data value for THIRD-PARTY-NOTICES.txt had no space before --collect-submodules, so cmd passed ...;.--collect-submodules as one argument. PyInstaller then took app as the script and rejected the real engine script.
  • Fix: one space. macOS and Linux use their own freeze script, which was never affected.
  • Release 0.15.1. 0.15.0 was never published, so this release carries it too.

Commits

  • fix(build): the Windows engine freeze passes the notices file and the next option as two arguments
  • chore(release): 0.15.1, the Windows engine freeze runs again

Version

v0.15.1 (release commit is last). Bumped the same sites as 0.15.0: CHANGELOG.md, the README badge, backend/app/init.py, frontend/package.json, both fields of frontend/package-lock.json, frontend/src/version.ts, native/Cargo.toml and the frg-* entries of native/Cargo.lock, src-tauri/Cargo.toml, its Cargo.lock entry, and src-tauri/tauri.conf.json.

Checks

  • The fixed freeze line, split into arguments the way cmd does and given to PyInstaller 6.22.3's own argument parser: the only script is backend\formrig_engine.py and nothing is unrecognized. The line from main: the script is app and the engine script is unrecognized.
  • npx tsc --noEmit in frontend: passed.
  • cargo metadata --locked in native/ and src-tauri/: both passed, so the lockfiles agree with the bumped manifests.

Not run: a Windows build, npm run build, vitest, cargo clippy, build and test, the engine checks, setup/notices.py --check, CI.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

The short hashes change when the commits are signed.

… next option as two arguments

A missing space after the THIRD-PARTY-NOTICES.txt --add-data value joined it
to --collect-submodules in cmd, so PyInstaller took the wrong word as the script
and stopped with "unrecognized arguments" on the engine script. Windows
builds failed at the freeze step; macOS and Linux use their own freeze
script, which was never affected.
Version sites and the changelog section for 0.15.1: frontend/package.json, both version fields in frontend/package-lock.json, frontend/src/version.ts, backend/app/__init__.py, native/Cargo.toml and the 24 frg-* entries in native/Cargo.lock, src-tauri/Cargo.toml, src-tauri/Cargo.lock, src-tauri/tauri.conf.json and the README badge. 0.15.0 was never published, so the changelog says 0.15.1 also carries it. Ran: type check, cargo metadata --locked for native and src-tauri. Not run: the Windows desktop build, interface, engine and native tests.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner December 1, 2026 02:19
@nodemode-ai
nodemode-ai merged commit 7302027 into main Dec 1, 2026
6 checks passed
@nodemode-ai
nodemode-ai deleted the fix/windows-freeze-0.15.1 branch December 1, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant