foreach (var d; ["/home/me/.fgfs/Export", "/tmp"]) {
var dirToCreate = os.path.new(d);
dirToCreate.append("foobarXXX");
var dummy = os.path.new(dirToCreate.str);
dummy.append("dummy");
if (!dirToCreate.isDir()) {
if (!dirToCreate.exists()) {
dummy.create_dir();
} else {
print(dirToCreate.str ~ " exists but is not a directory!");
}
}
}
storageDir = addon.createStorageDir();
storageDir = addon.storagePath
Hooray wrote in Wed Mar 07, 2018 10:05 pm:my impression here is that you may be running into other places (subsystems) that don't have any addon support ...
It would be best to identify such bugs and report them here so that we can take a look - I believe that rominet has already fixed a few of those (e.g. bindings and UI dialogs).
,,,
Users browsing this forum: No registered users and 1 guest