14 lines
647 B
Text
14 lines
647 B
Text
Index: src/PrusaSlicer.cpp
|
|
--- src/PrusaSlicer.cpp.orig
|
|
+++ src/PrusaSlicer.cpp
|
|
@@ -661,8 +661,8 @@ bool CLI::setup(int argc, char **argv)
|
|
#endif
|
|
|
|
// See Invoking prusa-slicer from $PATH environment variable crashes #5542
|
|
- // boost::filesystem::path path_to_binary = boost::filesystem::system_complete(argv[0]);
|
|
- boost::filesystem::path path_to_binary = boost::dll::program_location();
|
|
+ boost::filesystem::path path_to_binary = boost::filesystem::system_complete(argv[0]);
|
|
+ // boost::filesystem::path path_to_binary = boost::dll::program_location();
|
|
|
|
// Path from the Slic3r binary to its resources.
|
|
#ifdef __APPLE__
|