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.

Fall back to LOCALAPPDATA for the short Git work folder

Bowen Xuec40c6a7ee534
diff --git a/freevideo_engine/network.py b/freevideo_engine/network.py
index 54d15e1..e541522 100644
--- a/freevideo_engine/network.py
+++ b/freevideo_engine/network.py
@@ -1219,8 +1219,9 @@ def git_folder_too_deep(path):
def git_scratch_folder():
"""A new short real folder for Git to work in, or None where none can be made."""
bases = [tempfile.gettempdir()]
- if os.environ.get('ProgramData'):
- bases.append(os.path.join(os.environ['ProgramData'], 'FV'))
+ for key in ('ProgramData', 'LOCALAPPDATA'):
+ if os.environ.get(key):
+ bases.append(os.path.join(os.environ[key], 'FV'))
for base in bases:
if path_chars(plain(base)) > GIT_SCRATCH_BASE_CHARS:
continue