Ghidra is a software reverse engineering (SRE) framework
GP-2282: Creating a new script via the Script Manager now properly handles the $HOME/ghidra_scripts directory not existing
Ryan Kurtzf8221ffeab9a
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleHost.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleHost.javaindex 56a3141eb5..cda4d7b721 100644--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleHost.java+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleHost.java@@ -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);}