mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-0: Force Java to run in headless mode when Ghidra is launched from
analyzeHeadless script
This commit is contained in:
parent
f9a46d6752
commit
824723e492
3 changed files with 11 additions and 3 deletions
|
@ -41,7 +41,9 @@ public class Ghidra {
|
|||
// fully qualified class name (with . replaced by -). If we don't do this here, the next
|
||||
// time it gets done is in a new thread, which results in the application name being set to
|
||||
// "java-lang-thread".
|
||||
Taskbar.isTaskbarSupported();
|
||||
if (!Boolean.getBoolean("java.awt.headless")) {
|
||||
Taskbar.isTaskbarSupported();
|
||||
}
|
||||
|
||||
// Forward args to GhidraLauncher, which will perform the launch
|
||||
GhidraLauncher.launch(args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue