Mechanics of Settings App
How the settings application works?

The Settings application displays all the available sections on the first page and the available configuration options inside it on the second page. But, how?
The Settings application uses the embedded JSON file inside the kernel to provide it the available configuration options inside each section. Reading these files are done by the Settings app upon starting it up using the settings command with their appropriate switches in the previous page.
The format of all the settings can be found in the below link.
Settings FormatThe mechanism
Here's how the settings application works:
When the user is done configuring the kernel to their needs, they'll save the kernel configuration. The app invokes the Config.CreateConfig() function to save the changes to the configuration file.
The CLI version of the settings, which hosts the four commands as explained in the Kernel Settings page, uses a bunch of settings tools, including GetSettingsKey() that allows you to quickly get a settings key containing settings key information for a specified variable. This key is usable for useful functions, like setting a variable to a specified value that setconfigvalue is doing.
Last updated