Skip to content

Free, open-source AI video generator for Mac. Run LTX-2.5 and MiniMax H3 (Hailuo) locally on Apple Silicon: text-to-video and image-to-video with sound, lip-sync, character LoRA training, songs from lyrics (YuE2) and image editing (Qwen-Image-Edit). One-click install via Pinokio. Offline: no cloud, no API key, no NVIDIA GPU.

fix(update): use upstream auto-detect so update works across clones

mrbizarro4abfaf187198
diff --git a/update.js b/update.js
index 8979869..de8c7e6 100644
--- a/update.js
+++ b/update.js
@@ -22,10 +22,18 @@ module.exports = {
method: "shell.run",
params: {
message: [
- "git fetch origin",
+ // Branch-aware + remote-aware fetch+pull. Resolves the
+ // current branch's upstream (could be origin/main on the
+ // prod clone, or beta/main on the private dev clone — see
+ // 2026-05-22 split into public + private repos). The
+ // explicit-origin form `git pull origin <branch>` broke
+ // when public origin/dev was deleted.
+ "REMOTE=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null | cut -d/ -f1)",
"BRANCH=$(git rev-parse --abbrev-ref HEAD)",
- "echo \"updating branch: $BRANCH\"",
- "git pull --ff-only origin $BRANCH || (echo 'history diverged from origin (force-push?); falling back to reset --hard' && git reset --hard origin/$BRANCH)",
+ "UPSTREAM=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null)",
+ "echo \"updating branch: $BRANCH (upstream: $UPSTREAM)\"",
+ "git fetch $REMOTE",
+ "git pull --ff-only $UPSTREAM || (echo 'history diverged from upstream; falling back to reset --hard' && git reset --hard $UPSTREAM)",
"git rev-parse --short HEAD"
]
}