fpv-wtf / wtfos-configurator

Configurator for wtfos, with built in margerine
GNU Affero General Public License v3.0
42 stars 16 forks source link

Features/dynamic config schema #369

Closed j005u closed 1 year ago

j005u commented 1 year ago

This change allows packages to supply an executable at /opt/etc/package-config/package-name/schemaV2 and /opt/etc/package-config/package-name/uiSchemaV2 that outputs the appropriate schema instead of a static .json file.

For example, msp-osd can populate font options dynamically.

The --config-schema and --config-ui-schema flags get appended accordingly to executable calls to allow for easy symlinking to executable that might serve multiple purposes.