| 79 | } |
| 80 | |
| 81 | [[maybe_unused]] static std::wstring getDumpDirectory() |
| 82 | { |
| 83 | auto crashDir = Platform::getUserDirectory() / "crashes"; |
| 84 | if (!fs::exists(crashDir)) |
| 85 | { |
| 86 | fs::create_directories(crashDir); |
| 87 | } |
| 88 | return crashDir.wstring(); |
| 89 | } |
| 90 | |
| 91 | #endif // USE_BREAKPAD |
| 92 |
no test coverage detected