add apk filters, about descriptions, version extraction regex to app configs. fix Cemu versioning. refactor: store additionalSettings as real JSON in source file, stringify at export boundaries in scripts
This commit is contained in:
@@ -5,7 +5,7 @@ import json
|
||||
import sys
|
||||
from typing import Any
|
||||
|
||||
from utils import should_include_app
|
||||
from utils import should_include_app, stringify_additional_settings
|
||||
|
||||
|
||||
def minify_json(input_file: str, output_file: str, variant: str = "standard") -> None:
|
||||
@@ -19,6 +19,7 @@ def minify_json(input_file: str, output_file: str, variant: str = "standard") ->
|
||||
if should_include_app(app, variant):
|
||||
app_copy = app.copy()
|
||||
app_copy.pop("meta", None)
|
||||
app_copy["additionalSettings"] = stringify_additional_settings(app_copy)
|
||||
filtered_apps.append(app_copy)
|
||||
data["apps"] = filtered_apps
|
||||
|
||||
|
||||
Reference in New Issue
Block a user