AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
fix(animation_config): refuse a file path where a project directory is expected instead of passing silently
hugohe3df118dad6a09
diff --git a/skills/ppt-master/scripts/animation_config.py b/skills/ppt-master/scripts/animation_config.pyindex 0b556d04..ecbb2154 100644--- a/skills/ppt-master/scripts/animation_config.py+++ b/skills/ppt-master/scripts/animation_config.py@@ -81,6 +81,14 @@ def main(argv: list[str] | None = None) -> int:if not project_path.exists():print(f'Error: Project path does not exist: {project_path}', file=sys.stderr)return 1+ if not project_path.is_dir():+ # A sidecar path here would make validate look for <file>/animations.json,+ # find nothing, and pass an unchecked file.+ print(+ f'Error: expected a project directory, got a file: {project_path}',+ file=sys.stderr,+ )+ return 1if args.command == 'scaffold':try: