Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/cad/PrusaSlicer/files/patch-src_slic3r_GUI_GUI.hpp
16462 views
1
--- src/slic3r/GUI/GUI.hpp.orig 2024-12-20 11:54:34 UTC
2
+++ src/slic3r/GUI/GUI.hpp
3
@@ -74,7 +74,7 @@ void desktop_open_folder(const boost::filesystem::path
4
// Ask the destop to open the directory specified by path using the default file explorer.
5
void desktop_open_folder(const boost::filesystem::path& path);
6
7
-#ifdef __linux__
8
+#if defined(__linux__) || defined (__FreeBSD__)
9
// Calling wxExecute on Linux with proper handling of AppImage's env vars.
10
// argv example: { "xdg-open", path.c_str(), nullptr }
11
void desktop_execute(const char* argv[]);
12
13