mirror of
https://github.com/gilbN/theme.park.git
synced 2024-08-17 15:39:36 +02:00
only add non deprecated apps to themes.json
This commit is contained in:
parent
a6ed0378be
commit
61ce002e45
@ -86,7 +86,7 @@ def create_json(app_folders: list = None, themes: list = None, no_sub_folders=Fa
|
|||||||
app: {
|
app: {
|
||||||
"base_css": f"https://{DOMAIN}/CSS/themes/{app}/{app}-base.css?sha={SHAS.get(f'{app}-base.css')}",
|
"base_css": f"https://{DOMAIN}/CSS/themes/{app}/{app}-base.css?sha={SHAS.get(f'{app}-base.css')}",
|
||||||
"addons": ADDONS["addons"][app] if app in ADDONS["addons"] else {}
|
"addons": ADDONS["addons"][app] if app in ADDONS["addons"] else {}
|
||||||
} for app in app_folders
|
} for app in app_folders if not isfile(f'./CSS/themes/{app}/.deprecated')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user