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.

Open Setup with a notice when the saved ComfyUI folder is unavailable

Bowen Xuec83ab42bf25d
diff --git a/freevideo_engine/launcher_copy.py b/freevideo_engine/launcher_copy.py
index 37d0714..65e54d4 100644
--- a/freevideo_engine/launcher_copy.py
+++ b/freevideo_engine/launcher_copy.py
@@ -11,6 +11,8 @@ ACTION_COPY = {
'下载目录已不存在,请重新导出清单'),
'installation_missing': ('There is no installation information yet. Complete installation first.',
'还没有安装信息,请先完成安装'),
+ 'installation_unavailable': ('The saved ComfyUI folder could not be opened. It may have been moved or renamed, or its drive may be disconnected. Choose its current location below, or install ComfyUI.',
+ '无法打开已保存的 ComfyUI 文件夹,它可能已被移动、改名,或所在磁盘未连接。请在下方选择它现在的位置,或安装 ComfyUI。'),
'checking_update': ('Checking for updates. Please wait.', '正在检查更新,请稍候'),
'update_install_failed': ('The update could not be installed. You can keep using the current version.',
'无法安装更新。当前版本可以照常使用。'),
diff --git a/freevideo_engine/launcher_session.py b/freevideo_engine/launcher_session.py
index 9ee8c5d..7107733 100644
--- a/freevideo_engine/launcher_session.py
+++ b/freevideo_engine/launcher_session.py
@@ -479,6 +479,8 @@ class Session:
self.persist()
def action(self, name, accepted=False, *, retry=None):
+ if self.action_notice == 'installation_unavailable':
+ self.action_notice = ''
if name == 'stop':
self.pending_action = None
if self.action_notice == 'setup_queued':
@@ -557,7 +559,11 @@ class Session:
self.page = 'comfy'; return
if name == 'launcher' and self.selected:
if not self.controller.restore({'installation': self.selected}):
- raise ValueError(self.t('Locate or repair this installation in Setup.', '请在安装设置中重新定位或修复这份安装。'))
+ # A moved, renamed or unplugged folder is expected: go to Setup
+ # with the saved paths filled in instead of a failure card.
+ self.action_notice = 'installation_unavailable'
+ self.page = 'comfy'
+ return
self.page = 'launcher'
return
if name == 'update-engine' and self.selected: