mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-10-01 17:11:44 -09:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user