Write settings file or backup settings file. Push errors to vector, or log them if null.
Declared in <common/args.h>
[[requires_capability(0x7f2e381af028)]]
bool
WriteSettingsFile(
std::vector<std::string>* errors = nullptr,
bool backup = false) const;
true if the settings file was written successfully.
| Name | Description |
|---|---|
| errors | If non-null, populated with any write errors. |
| backup | Write the backup settings file instead of the main one. |