From 2e553de4ac369d5039fe07f6512e9b1b120b846a Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Mon, 30 Nov 2026 20:28:14 -0500 Subject: [PATCH 1/2] fix(build): the Windows engine freeze passes the notices file and the 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. --- backend/freeze_engine.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/freeze_engine.bat b/backend/freeze_engine.bat index ea77fed..97dd53c 100644 --- a/backend/freeze_engine.bat +++ b/backend/freeze_engine.bat @@ -19,7 +19,7 @@ if exist build\pyinstaller rmdir /s /q build\pyinstaller if exist dist-engine rmdir /s /q dist-engine set "WINDOWED=--noconsole" if "%FORMREF_ENGINE_WINDOWED%"=="0" set "WINDOWED=" -"%PYTHON_BIN%" -m PyInstaller --noconfirm --clean --onefile %WINDOWED% --log-level WARN --name formref-engine --distpath dist-engine --workpath build\pyinstaller --specpath build\pyinstaller --paths "%BACKEND%" --add-data "%ROOT%\frontend\dist;frontend\dist" --add-data "%BACKEND%\app\bundled_models;app\bundled_models" --add-data "%ROOT%\THIRD-PARTY-NOTICES.txt;."--collect-submodules app --collect-submodules uvicorn --collect-submodules mcp.server --collect-submodules mcp.shared --collect-submodules mcp.client --hidden-import mcp.types --exclude-module mcp.cli --collect-submodules websockets --collect-submodules fontTools.ttLib.tables --hidden-import fontTools.subset --hidden-import pypdfium2 --hidden-import resvg_py --collect-all winpty "%BACKEND%\formref_engine.py" +"%PYTHON_BIN%" -m PyInstaller --noconfirm --clean --onefile %WINDOWED% --log-level WARN --name formref-engine --distpath dist-engine --workpath build\pyinstaller --specpath build\pyinstaller --paths "%BACKEND%" --add-data "%ROOT%\frontend\dist;frontend\dist" --add-data "%BACKEND%\app\bundled_models;app\bundled_models" --add-data "%ROOT%\THIRD-PARTY-NOTICES.txt;." --collect-submodules app --collect-submodules uvicorn --collect-submodules mcp.server --collect-submodules mcp.shared --collect-submodules mcp.client --hidden-import mcp.types --exclude-module mcp.cli --collect-submodules websockets --collect-submodules fontTools.ttLib.tables --hidden-import fontTools.subset --hidden-import pypdfium2 --hidden-import resvg_py --collect-all winpty "%BACKEND%\formref_engine.py" if errorlevel 1 exit /b 1 if not exist "%ROOT%\src-tauri\binaries" mkdir "%ROOT%\src-tauri\binaries" From 0c5145a4c1fd610a9b52ef38e0098d8fe739a240 Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Mon, 30 Nov 2026 20:30:10 -0500 Subject: [PATCH 2/2] chore(release): v0.47.1, the Windows engine freeze runs again The Windows build packs the engine again: backend/freeze_engine.bat had lost the space between the notices file and the next option, so PyInstaller stopped with unrecognized arguments. 0.47.0 was never published, so this release carries its menu changes too. Every version site moved from 0.47.0 to 0.47.1 by hand: README.md badge, backend/app/core/config.py VERSION, clipper/manifest.json, both spans in frontend/index.html, frontend/package.json, both version fields of frontend/package-lock.json, native/formref-core Cargo.toml and Cargo.lock, src-tauri Cargo.toml, Cargo.lock and tauri.conf.json. CHANGELOG.md has the v0.47.1 section. --- CHANGELOG.md | 6 ++++++ README.md | 2 +- backend/app/core/config.py | 2 +- clipper/manifest.json | 2 +- frontend/index.html | 4 ++-- frontend/package-lock.json | 4 ++-- frontend/package.json | 2 +- native/formref-core/Cargo.lock | 2 +- native/formref-core/Cargo.toml | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 12 files changed, 19 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ec84fb..c65abd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # FormRef changelog +## v0.47.1 · 2026-11-30 + +A small fix release for Windows. 0.47.0 was never published, so this release also carries everything listed under it. + +- On Windows the app builds again. The step that packs the engine stopped with "unrecognized arguments", because the licence notices file and the option after it ran together into one argument. + ## v0.47.0 · 2026-11-30 Menus never cover the menu bar, and a long menu shows that it has more rows below. diff --git a/README.md b/README.md index 0031a91..8b20133 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@

- version 0.47.0 + version 0.47.1 Rust engine TypeScript and FastAPI macOS, Windows, Linux diff --git a/backend/app/core/config.py b/backend/app/core/config.py index b24c4e2..bfb9cdf 100644 --- a/backend/app/core/config.py +++ b/backend/app/core/config.py @@ -4,7 +4,7 @@ from pathlib import Path ROOT = Path(getattr(sys, "_MEIPASS", "")).resolve() if getattr(sys, "frozen", False) else Path(__file__).resolve().parents[3] -VERSION = "0.47.0" +VERSION = "0.47.1" NOTICES_NAME = "THIRD-PARTY-NOTICES.txt" diff --git a/clipper/manifest.json b/clipper/manifest.json index 9db2878..35de5fb 100644 --- a/clipper/manifest.json +++ b/clipper/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "FormRef Clipper", - "version": "0.47.0", + "version": "0.47.1", "description": "Save images, selected text, links and pages to the FormRef board running on your computer.", "author": "nodemode-ai", "icons": { "16": "icons/icon-16.png", "32": "icons/icon-32.png", "48": "icons/icon-48.png", "128": "icons/icon-128.png" }, diff --git a/frontend/index.html b/frontend/index.html index 779b049..44f410b 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -129,7 +129,7 @@

@@ -715,7 +715,7 @@

NODEMODE HOST

ABOUT

-

FormRef v0.47.0

+

FormRef v0.47.1

by nodemode.ai

Apache License 2.0. Third-party notices are in NOTICE.md.

Third-party licence texts
diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 7746496..bf71dc5 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "formref-frontend", - "version": "0.47.0", + "version": "0.47.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "formref-frontend", - "version": "0.47.0", + "version": "0.47.1", "dependencies": { "@xterm/addon-fit": "0.11.0", "@xterm/xterm": "6.0.0", diff --git a/frontend/package.json b/frontend/package.json index b3d71b8..7f59e4e 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "formref-frontend", - "version": "0.47.0", + "version": "0.47.1", "private": true, "type": "module", "scripts": { diff --git a/native/formref-core/Cargo.lock b/native/formref-core/Cargo.lock index 3fd3be8..4faf981 100644 --- a/native/formref-core/Cargo.lock +++ b/native/formref-core/Cargo.lock @@ -4,7 +4,7 @@ version = 4 [[package]] name = "formref-core" -version = "0.47.0" +version = "0.47.1" dependencies = [ "serde", "serde_json", diff --git a/native/formref-core/Cargo.toml b/native/formref-core/Cargo.toml index c8b79e5..b8284dd 100644 --- a/native/formref-core/Cargo.toml +++ b/native/formref-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "formref-core" -version = "0.47.0" +version = "0.47.1" edition = "2021" rust-version = "1.82" authors = ["nodemode-ai "] diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index f3a19ac..fd68384 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -839,7 +839,7 @@ dependencies = [ [[package]] name = "formref-desktop" -version = "0.47.0" +version = "0.47.1" dependencies = [ "objc2", "objc2-app-kit", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 797a924..d580c6e 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "formref-desktop" -version = "0.47.0" +version = "0.47.1" description = "FormRef desktop shell" authors = ["nodemode-ai "] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 9741573..232415f 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "FormRef", - "version": "0.47.0", + "version": "0.47.1", "identifier": "ai.nodemode.formref", "build": { "beforeDevCommand": { "cwd": "../frontend", "script": "npm run dev", "wait": false },