GP-2282: Creating a new script via the Script Manager now properly

handles the $HOME/ghidra_scripts directory not existing
This commit is contained in:
Ryan Kurtz
2022-07-20 11:19:39 -04:00
parent fb2daf5794
commit f8221ffeab

View File

@@ -98,6 +98,11 @@ public class BundleHost {
bundle = add(bundleFile, true, false);
return true;
}
if (bundleFile.exists() && bundle instanceof GhidraPlaceholderBundle) {
remove(bundle);
add(bundleFile, true, false);
return true;
}
return enable(bundle);
}