| 351 | void SetDownloadPath(const std::string& path) { ::VK_CURRENT_DOWNLOAD_PATH = path; } |
| 352 | |
| 353 | static const std::string GetDownloadDir() { |
| 354 | std::string absolute_path = qgetenv("VULKAN_DOWNLOAD").toStdString(); |
| 355 | |
| 356 | if (absolute_path.empty()) { // Default path |
| 357 | absolute_path = VK_CURRENT_DOWNLOAD_PATH; |
| 358 | } |
| 359 | |
| 360 | return absolute_path; |
| 361 | } |
| 362 | |
| 363 | static const std::string GetAppDataDir() { |
| 364 | const char* TABLE[] = { |