| 408 | } |
| 409 | |
| 410 | SIBR_SYSTEM_EXPORT std::string getInstallSubDirectory(const std::string & subfolder) |
| 411 | { |
| 412 | std::string installDirectory = getInstallDirectory(); |
| 413 | std::string installSubDirectory = installDirectory + "/" + subfolder; |
| 414 | |
| 415 | if(!directoryExists(installSubDirectory)) |
| 416 | { |
| 417 | // try subdirs GD LINUX issue |
| 418 | installSubDirectory = installDirectory + "/install/" + subfolder; |
| 419 | if(!directoryExists(installSubDirectory)) |
| 420 | SIBR_ERR << "Can't find subfolder " << subfolder << " in " << installDirectory << ". Please specify correct app folder as command-line option using --appPath option!" << std::endl; |
| 421 | } |
| 422 | |
| 423 | return installSubDirectory; |
| 424 | } |
| 425 | |
| 426 | bool showFilePicker(std::string & selectedElement, |
| 427 |
nothing calls this directly
no test coverage detected