mirror of
https://github.com/baketnk/frame-yap.git
synced 2026-10-04 22:00:03 +02:00
installer: clarify post-install runtime and model messages
The native-only notice read as an error in the attended flow, where the runtime step follows; the model message still asked for manual paths although the app finds the XDG model store itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a15bad0aed
commit
3f451087ca
2 files changed
+6
-4
No files matched your search
+3
-2
@@ -686,7 +686,7 @@ def install_model(args, root):
|
||||
if state["state"] != "installed_verified":
|
||||
fail(f"model did not verify: {state['reason']}")
|
||||
if not args.json:
|
||||
print(f"Backend {backend.id} model verified at {dest}; license {backend.license_id}. Configure runtime/model paths explicitly for launch.")
|
||||
print(f"Backend {backend.id} model verified at {dest}; license {backend.license_id}.")
|
||||
|
||||
|
||||
def runtime_step(args, name, command):
|
||||
@@ -881,7 +881,8 @@ def do_install(args, root, launcher):
|
||||
select(root, "current", f"versions/{version}")
|
||||
print(f"FrameYap {version} installed. OpenVR registration is NOT automatic; see docs/packaging.md.")
|
||||
if json.loads((target / "release.json").read_text())["runtime"] == "external-authorized-python":
|
||||
print("ASR runtime is NOT included. Run install.sh --install-runtime --yes to pip-install it, or supply one with FRAMEYAP_PYTHON/--python or paths.conf.")
|
||||
print("The speech runtime (Python/moondream) is installed separately: the installer offers it next, "
|
||||
"or run install.sh --install-runtime --yes later.")
|
||||
|
||||
|
||||
def uninstall(root, launcher):
|
||||
|
||||
@@ -666,7 +666,7 @@ def install_model(args, root):
|
||||
if state["state"] != "installed_verified":
|
||||
fail(f"model did not verify: {state['reason']}")
|
||||
if not args.json:
|
||||
print(f"Backend {backend.id} model verified at {dest}; license {backend.license_id}. Configure runtime/model paths explicitly for launch.")
|
||||
print(f"Backend {backend.id} model verified at {dest}; license {backend.license_id}.")
|
||||
|
||||
|
||||
def runtime_step(args, name, command):
|
||||
@@ -861,7 +861,8 @@ def do_install(args, root, launcher):
|
||||
select(root, "current", f"versions/{version}")
|
||||
print(f"FrameYap {version} installed. OpenVR registration is NOT automatic; see docs/packaging.md.")
|
||||
if json.loads((target / "release.json").read_text())["runtime"] == "external-authorized-python":
|
||||
print("ASR runtime is NOT included. Run install.sh --install-runtime --yes to pip-install it, or supply one with FRAMEYAP_PYTHON/--python or paths.conf.")
|
||||
print("The speech runtime (Python/moondream) is installed separately: the installer offers it next, "
|
||||
"or run install.sh --install-runtime --yes later.")
|
||||
|
||||
|
||||
def uninstall(root, launcher):
|
||||
|
||||
Reference in new issue
Block a user