| 372 | } |
| 373 | |
| 374 | static const std::string GetInitPath() { |
| 375 | const std::string TABLE[] = { |
| 376 | "/" + VKCONFIG_VERSION + "/vkconfig.json", // ENVIRONMENT_WIN32 |
| 377 | "/lunarg-" + VKCONFIG_VERSION + "/vkconfig.json" // ENVIRONMENT_UNIX |
| 378 | }; |
| 379 | static_assert(std::size(TABLE) == ENVIRONMENT_COUNT); |
| 380 | |
| 381 | std::string absolute_path = GetAppDataDir() + TABLE[VKC_ENV]; |
| 382 | return absolute_path; |
| 383 | } |
| 384 | |
| 385 | static const std::string GetConfigsDir() { |
| 386 | const std::string TABLE[] = { |