INNER CODE UNIT · Python

build_app_json

ImranR98/apps.obtainium.imranr.dev · scripts/generate_from_url.py:82

def build_app_json(app_config):
    """Build the config file contents and the subfolder it belongs in."""
    config = build_config(app_config)
    if has_complex_settings(app_config):
        return {
            "configs": [config],
            "icon": None,
            "categories": ["other"],
            "description": {"en": None}
        }, "complex"
    return {
        "config": config,
        "icon": None,
        "categories": ["other"],
        "description": {"en": None}
    }, "simple"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…