Skip to content

Conversation

@j005u
Copy link
Contributor

@j005u j005u commented May 13, 2023

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.

@j005u
Copy link
Contributor Author

j005u commented May 13, 2023

Here's an example schemaV2 executable for msp-osd schemaV2.zip

@stylesuxx stylesuxx added this to the V2.2.0 milestone May 13, 2023
@stylesuxx stylesuxx added the enhancement New feature or request label May 13, 2023
@stylesuxx stylesuxx modified the milestones: V2.2.0, V2.3.0 May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants