mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 23:05:04 -06:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue