Add debug information for locating a users data directory
This commit is contained in:
parent
c4f8c36ecc
commit
f2617bffda
@ -37,6 +37,7 @@ sub OnInit {
|
||||
|
||||
# locate or create data directory
|
||||
$datadir = Wx::StandardPaths::Get->GetUserDataDir;
|
||||
Slic3r::debugf "Data directory: %s\n", $datadir;
|
||||
for ($datadir, "$datadir/print", "$datadir/filament", "$datadir/printer") {
|
||||
mkdir or $self->fatal_error("Slic3r was unable to create its data directory at $_ (errno: $!).")
|
||||
unless -d $_;
|
||||
|
Loading…
Reference in New Issue
Block a user