Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-12-10 15:19:44 +0300
committerbubnikv <bubnikv@gmail.com>2017-12-10 15:19:44 +0300
commit657f2734f19da1d6483b9d70b5d8102e727bc34b (patch)
tree152a9f1128d3a2af638b930d923d324e75231175 /lib/Slic3r.pm
parent9a80ff57b26b41bf1e4ad275ccd8416cd0d567b0 (diff)
Extended the Config Wizard to offer a selection of config bundles
bundled with Slic3r installation, and install it into user's Slic3r profile. These bundled config bundles will be contained in the Slic3r source tree under Slic3r/resources/profiles. Breaking change! The Slic3r user directory has been renamed to Slic3rPE for the Prusa Edition. Also it is likely, that the Slic3rPE directory will be reorganized before the final 1.38 release to reserve space for temporary profiles downloaded from the Internet.
Diffstat (limited to 'lib/Slic3r.pm')
-rw-r--r--lib/Slic3r.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm
index 53b2e3663..45eedc48d 100644
--- a/lib/Slic3r.pm
+++ b/lib/Slic3r.pm
@@ -42,6 +42,7 @@ use FindBin;
# Let the XS module know where the GUI resources reside.
set_var_dir(decode_path($FindBin::Bin) . "/var");
+set_resources_dir(decode_path($FindBin::Bin) . (($^O eq 'darwin') ? '/Resources' : '/resources'));
use Moo 1.003001;