diff --git a/.github/scripts/generate_helpers_cache.py b/.github/scripts/generate_helpers_cache.py index c2ed276..f6580e2 100644 --- a/.github/scripts/generate_helpers_cache.py +++ b/.github/scripts/generate_helpers_cache.py @@ -30,6 +30,7 @@ for item in data: # Extract fields required to identify a valid helper script name = raw.get("name", "") slug = raw.get("slug") + type_ = raw.get("type", "") script = raw.get("install_methods", [{}])[0].get("script", "") if not slug or not script: continue # Skip if it's not a valid script @@ -47,7 +48,8 @@ for item in data: "script": script, "script_url": full_script_url, "categories": categories, - "notes": notes + "notes": notes, + "type": type_ }) # Write the JSON cache to disk