mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-24 21:21:56 +00:00
Merge remote-tracking branch 'origin/GP-1034_ryanmkurtz_ghidra_scripts--SQUASHED' into Ghidra_10.0
This commit is contained in:
commit
cde02a91eb
@ -549,8 +549,12 @@ public class GhidraScriptComponentProvider extends ComponentProviderAdapter {
|
||||
return;
|
||||
}
|
||||
|
||||
// Create user script directory if it doesn't exist
|
||||
File userScriptsDir = new File(GhidraScriptUtil.USER_SCRIPTS_DIR);
|
||||
FileUtilities.checkedMkdirs(userScriptsDir);
|
||||
|
||||
ResourceFile newFile = GhidraScriptUtil.createNewScript(provider,
|
||||
new ResourceFile(GhidraScriptUtil.USER_SCRIPTS_DIR), getScriptDirectories());
|
||||
new ResourceFile(userScriptsDir), getScriptDirectories());
|
||||
SaveDialog dialog = new SaveNewScriptDialog(getComponent(), "New Script", this, newFile,
|
||||
actionManager.getNewHelpLocation());
|
||||
if (dialog.isCancelled()) {
|
||||
|
Loading…
Reference in New Issue
Block a user