fix ffmpeg

This commit is contained in:
op
2026-05-27 13:48:27 +08:00
parent 156e4ce095
commit bb5678858d
15 changed files with 512 additions and 106 deletions

View File

@@ -14,7 +14,8 @@ def _rel(pack_root: Path, raw: str | None) -> Path | None:
return None
path = Path(raw)
if path.is_absolute():
return path.resolve()
# Do not resolve(): symlinks to bundle weights must keep writable parent dirs.
return path
return (pack_root / path).resolve()