2015-06-29 12:38:50 +00:00
|
|
|
diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm
|
|
|
|
index 154af90..ef8274c 100644
|
|
|
|
--- a/lib/Slic3r.pm
|
|
|
|
+++ b/lib/Slic3r.pm
|
2018-06-25 16:46:56 +00:00
|
|
|
@@ -42,7 +42,7 @@ warn "Running Slic3r under Perl 5.16 is neither supported nor recommended\n"
|
2015-06-29 12:38:50 +00:00
|
|
|
|
|
|
|
use FindBin;
|
2018-06-25 16:46:56 +00:00
|
|
|
# Path to the images.
|
|
|
|
-my $varpath = decode_path($FindBin::Bin) . "/var";
|
|
|
|
+my $varpath = "/usr/share/slic3r";
|
|
|
|
if ($^O eq 'darwin' && !-d $varpath) {
|
|
|
|
$varpath = decode_path($FindBin::Bin) . "/../Resources/var";
|
|
|
|
}
|