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.
Give uv venv and python commands the short view; unpack archives through the long-path entry
Bowen Xuea411691f1404
diff --git a/freevideo_engine/bootstrap.py b/freevideo_engine/bootstrap.pyindex 89bd30c..478977c 100644--- a/freevideo_engine/bootstrap.py+++ b/freevideo_engine/bootstrap.py@@ -1025,6 +1025,7 @@ def download(url, path, sha, progress=None, *, networking=None, env=None):def unpack(archive, destination):+ from .long_paths import io_pathdestination.mkdir(parents=True, exist_ok=True)if zipfile.is_zipfile(archive):with zipfile.ZipFile(archive) as zipped:@@ -1034,7 +1035,7 @@ def unpack(archive, destination):if (not path.is_relative_to(destination.resolve()) or ':' in name or(member.external_attr >> 16) & 0o170000 == 0o120000):raise ValueError('Unsafe ZIP member: ' + member.filename)- zipped.extractall(destination)+ zipped.extractall(io_path(destination))returnwith tarfile.open(archive) as tar:# Python 3.9-compatible containment checks, including link targets.@@ -1046,7 +1047,7 @@ def unpack(archive, destination):target = (path.parent if member.issym() else destination) / member.linknameif not target.resolve().is_relative_to(destination.resolve()):raise ValueError('Unsafe archive link: ' + member.name)- tar.extractall(destination)+ tar.extractall(io_path(destination))def unpack_folder(archive, destination, name):diff --git a/freevideo_engine/environments.py b/freevideo_engine/environments.pyindex 276df74..a0dc114 100644--- a/freevideo_engine/environments.py+++ b/freevideo_engine/environments.py@@ -43,8 +43,9 @@ def uv_build_environment(command, root, environ):Mark only this child's view: processes.popen translates its paths, whileinstallation settings, cache ownership and the parent's environment stay put."""+ # `venv` and `python` also write into the cache (interpreter records, downloads) below the same root.if (not command or Path(command[0]).name.lower() not in ('uv', 'uv.exe')- or list(command[1:2]) != ['pip']):+ or list(command[1:2]) not in (['pip'], ['venv'], ['python'])):return environfrom . import launch_view, runtime_aliasfrom .long_paths import io_path, path_chars, plain