1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

One day I will fix it!

This commit is contained in:
bubnikv
2018-05-21 23:40:17 +02:00
parent 512b6dfd88
commit b694f1ac89
+2 -1
View File
@@ -952,7 +952,8 @@ void desktop_open_datadir_folder()
// Enclose the path into single quotes on Unix / OSX. All single quote characters need to be escaped
// inside a file name.
cmd += '\'';
cmd += boost::replace_all(path, "'", "\\'");
boost::replace_all(path, "'", "\\'");
cmd += path;
cmd += '\'';
#endif
::wxExecute(wxString::FromUTF8(cmd.c_str()), wxEXEC_ASYNC, nullptr);