mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-14 05:13:47 +00:00
fix(cli): resolve packaged media-use LUT assets
This commit is contained in:
@@ -8,6 +8,7 @@ import { validateCube, validateCubeFile } from "./cube-validate.mjs";
|
||||
|
||||
const SKILL_DIR = [
|
||||
join(import.meta.dirname, ".."),
|
||||
join(import.meta.dirname, "..", "..", "..", "..", "skills", "media-use"),
|
||||
join(import.meta.dirname, "..", "..", "..", "..", "..", "skills", "media-use"),
|
||||
].find((candidate) => existsSync(join(candidate, "luts", "index.json")));
|
||||
const LUT_DIR = join(SKILL_DIR, "luts");
|
||||
|
||||
Reference in New Issue
Block a user