Skip to content

Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.

Bundle the runtime dependency pins into the Windows launcher (#83)

Bowen Xuef25b261c9730
diff --git a/freevideo_engine/release_notes.json b/freevideo_engine/release_notes.json
index 4a1ba74..d5b713a 100644
--- a/freevideo_engine/release_notes.json
+++ b/freevideo_engine/release_notes.json
@@ -2,15 +2,17 @@
"schema": 1,
"product_version": "0.3.1",
"en": {
- "summary": "Fixes the int8 upgrade on older installations.",
+ "summary": "Fixes the int8 upgrade on older installations and importing the Environment ZIP.",
"changes": [
- "Older installations could not upgrade to the int8 model: the upgrade stopped with \"The download is larger than shown\". The size shown now includes every file the upgrade downloads, such as the sampling tables, so the upgrade goes through."
+ "Older installations could not upgrade to the int8 model: the upgrade stopped with \"The download is larger than shown\". The size shown now includes every file the upgrade downloads, such as the sampling tables, so the upgrade goes through.",
+ "Importing the Environment ZIP failed with \"No such file or directory: windows-portable.txt\". It imports again."
]
},
"zh": {
- "summary": "修复较早安装的用户无法升级到 int8 模型的问题。",
+ "summary": "修复较早安装的用户无法升级到 int8 模型,以及运行环境包无法导入的问题。",
"changes": [
- "较早安装的用户升级到 int8 模型时,会停在「下载比显示的大」。现在显示的下载量包含升级要下载的全部文件(例如采样表),可以正常完成升级。"
+ "较早安装的用户升级到 int8 模型时,会停在「下载比显示的大」。现在显示的下载量包含升级要下载的全部文件(例如采样表),可以正常完成升级。",
+ "导入运行环境包时会报「找不到 windows-portable.txt」,现在可以正常导入。"
]
}
}
diff --git a/scripts/build_windows.py b/scripts/build_windows.py
index 2fdb67c..59e20ed 100644
--- a/scripts/build_windows.py
+++ b/scripts/build_windows.py
@@ -59,6 +59,9 @@ def bundle_data_args(root):
if path.is_relative_to(root / 'freevideo_engine/launcher/licenses/bundled'):
continue # A rebuild collects notices from its current environment.
arguments.extend(['--add-data', str(path) + os.pathsep + path.parent.relative_to(root).as_posix()])
+ # Importing an offline runtime ZIP fingerprints its pinned dependencies,
+ # including this file outside the package.
+ arguments.extend(['--add-data', str(root / 'constraints/windows-portable.txt') + os.pathsep + 'constraints'])
return arguments