Add the ability to set individual commandline options at the expense of a generic Lua script

Note breaking change: Previously `--config` specified one or more Lua scripts that were executed to update the configuration state, now the `--config` sets the path to the window configuration instead
This commit is contained in:
Alexander Bock
2023-11-07 16:19:59 +01:00
parent 01acbc0e48
commit eeb536c9e1
9 changed files with 81 additions and 704 deletions

View File

@@ -65,8 +65,7 @@ int main(int argc, char** argv) {
*global::configuration = configuration::loadConfigurationFromFile(
configFile.string(),
glm::ivec2(0),
""
glm::ivec2(0)
);
global::openSpaceEngine->registerPathTokens();
global::openSpaceEngine->initialize();