We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1dd83d commit 011d0c3Copy full SHA for 011d0c3
trigger-control.cpp
@@ -48,7 +48,8 @@ void create_config_path_dir()
48
#endif
49
#ifdef _WIN32
50
// lmao windows with the wide char paths
51
- std::wstring wc(std::string(CONFIG_PATH).begin(), std::string(CONFIG_PATH).end());
+ std::string path = std::string(CONFIG_PATH);
52
+ std::wstring wc(path.begin(), path.end());
53
if (!std::filesystem::is_directory(wc))
54
std::filesystem::create_directory(wc);
55
0 commit comments