mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-4294 - Fixed exception looking for extensions when running headlessly in fat jar mode
This commit is contained in:
parent
dffb5fd859
commit
359faba77a
3 changed files with 49 additions and 35 deletions
|
@ -62,9 +62,12 @@ public class BuildGhidraJarScript extends GhidraScript {
|
|||
builder.addExcludedFileExtension(".pdf");
|
||||
|
||||
File installDir = Application.getInstallationDirectory().getFile(true);
|
||||
builder.buildJar(new File(installDir, "ghidra.jar"), null, monitor);
|
||||
File file = new File(installDir, "ghidra.jar");
|
||||
builder.buildJar(file, null, monitor);
|
||||
|
||||
// uncomment the following line to create a src zip for debugging.
|
||||
// builder.buildSrcZip(new File(installDir, "GhidraSrc.zip"), monitor);
|
||||
|
||||
println("Finsished writing jar: " + file);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue