mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
14 lines
423 B
Python
14 lines
423 B
Python
import json
|
|
|
|
community = json.loads(open("community.json").read())
|
|
official = json.loads(open("official.json").read())
|
|
|
|
# Add high quality and set working state for official apps
|
|
for app, infos in official.items():
|
|
infos["high_quality"] = True
|
|
infos["state"] = "working"
|
|
|
|
merged = community
|
|
merged.update(official)
|
|
|
|
open("apps.json", "w").write(json.dumps(merged, sort_keys=True, indent=4, separators=(',', ': ')))
|