mirror of
https://github.com/gilbN/theme.park.git
synced 2024-10-05 15:07:11 +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: {
|
||||
"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 {}
|
||||
} 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