1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Modification of Slic3r to search the icons in resources/icons

after they have been moved from var
This commit is contained in:
bubnikv
2017-12-10 21:14:03 +01:00
parent 455f9befbc
commit ca4bd96d5d
+2 -2
View File
@@ -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;