Path: blob/main/cad/PrusaSlicer/files/patch-src_slic3r_GUI_GUI.cpp
18157 views
--- src/slic3r/GUI/GUI.cpp.orig 2024-12-20 11:54:34 UTC1+++ src/slic3r/GUI/GUI.cpp2@@ -296,7 +296,7 @@ void desktop_open_folder(const boost::filesystem::path3const wxString widepath = path.wstring();4const wchar_t* argv[] = { L"explorer", widepath.GetData(), nullptr };5::wxExecute(const_cast<wchar_t**>(argv), wxEXEC_ASYNC, nullptr);6-#elif __APPLE__7+#elif defined(__APPLE__) || defined(__FreeBSD__)8const char* argv[] = { "open", path.string().c_str(), nullptr };9::wxExecute(const_cast<char**>(argv), wxEXEC_ASYNC, nullptr);10#else11@@ -305,7 +305,7 @@ void desktop_open_folder(const boost::filesystem::path12#endif13}1415-#ifdef __linux__16+#if defined(__linux__) || defined(__FreeBSD__)17namespace {18wxExecuteEnv get_appimage_exec_env()19{202122