From ca4bd96d5d31c5515fd14b144c3b281876861c11 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Sun, 10 Dec 2017 21:14:03 +0100 Subject: [PATCH] Modification of Slic3r to search the icons in resources/icons after they have been moved from var --- lib/Slic3r.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm index 45eedc48d..68579af81 100644 --- a/lib/Slic3r.pm +++ b/lib/Slic3r.pm @@ -41,8 +41,8 @@ warn "Running Slic3r under Perl 5.16 is neither supported nor recommended\n" 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')); +set_resources_dir(decode_path($FindBin::Bin) . (($^O eq 'darwin') ? '../Resources' : '/resources')); +set_var_dir(resources_dir() . "/icons"); use Moo 1.003001;