Modification of Slic3r to search the icons in resources/icons
after they have been moved from var
This commit is contained in:
parent
455f9befbc
commit
ca4bd96d5d
@ -41,8 +41,8 @@ warn "Running Slic3r under Perl 5.16 is neither supported nor recommended\n"
|
|||||||
use FindBin;
|
use FindBin;
|
||||||
|
|
||||||
# Let the XS module know where the GUI resources reside.
|
# 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;
|
use Moo 1.003001;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user