13 : m_debugMode(debugMode) {
15 const auto temp_dir = std::filesystem::temp_directory_path();
16 auto temp_full_path = temp_dir;
25 if (std::filesystem::is_directory(temp_dir)) {
29 throw std::invalid_argument(
"failed to load temp directory: " + temp_dir.generic_string());
33 if (std::filesystem::is_regular_file(
m_full_path)) {