mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-19 17:18:09 +08:00
Yet another fix of the previous commit.
This commit is contained in:
parent
6b4fe7975f
commit
512b6dfd88
@ -952,7 +952,7 @@ void desktop_open_datadir_folder()
|
|||||||
// Enclose the path into single quotes on Unix / OSX. All single quote characters need to be escaped
|
// Enclose the path into single quotes on Unix / OSX. All single quote characters need to be escaped
|
||||||
// inside a file name.
|
// inside a file name.
|
||||||
cmd += '\'';
|
cmd += '\'';
|
||||||
boost::replace_all(path, "'", "\\'");
|
cmd += boost::replace_all(path, "'", "\\'");
|
||||||
cmd += '\'';
|
cmd += '\'';
|
||||||
#endif
|
#endif
|
||||||
::wxExecute(wxString::FromUTF8(cmd.c_str()), wxEXEC_ASYNC, nullptr);
|
::wxExecute(wxString::FromUTF8(cmd.c_str()), wxEXEC_ASYNC, nullptr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user