Add settings

Plot Windows, log level, emoji, hints
This commit is contained in:
mwalker33
2020-04-10 13:52:50 +10:00
parent 40d2a3c072
commit 430ca985d3
5 changed files with 164 additions and 113 deletions

View File

@@ -582,10 +582,14 @@ int main(int argc, char *argv[]) {
set_my_executable_path();
set_my_user_directory();
// Settings Load and Test
// settings_load ();
// Load Settings and assign
// This will allow the command line to override the settings.json values
settings_load ();
// quick patch for debug level
g_debugMode = session.logging_level;
// settings_save ();
// printf ("Ver : %s\n",mySettings.version);
// End Settings
for (int i = 1; i < argc; i++) {