fix: Explicitly convert path to string for crash file (#1102)
This commit is contained in:
parent
79306fa6e1
commit
7d457998d7
@ -47,8 +47,8 @@ namespace hex {
|
|||||||
|
|
||||||
static void saveCrashFile(){
|
static void saveCrashFile(){
|
||||||
nlohmann::json crashData{
|
nlohmann::json crashData{
|
||||||
{"logFile", hex::log::getFile().getPath()},
|
{"logFile", wolv::util::toUTF8String(hex::log::getFile().getPath())},
|
||||||
{"project", ProjectFile::getPath()},
|
{"project", wolv::util::toUTF8String(ProjectFile::getPath())},
|
||||||
};
|
};
|
||||||
|
|
||||||
for (const auto &path : fs::getDefaultPaths(fs::ImHexPath::Config)) {
|
for (const auto &path : fs::getDefaultPaths(fs::ImHexPath::Config)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user