garyttierney / intellij-ghidra

An IntelliJ IDEA plugin for working on Ghidra Extensions.
97 stars 22 forks source link

XDG support #34

Closed fridtjof closed 6 months ago

fridtjof commented 7 months ago

Ghidra 11.1 will start supporting the XDG Base Directory Specification: https://github.com/NationalSecurityAgency/ghidra/issues/908

GhidraFacetConfiguration is currently only looking at $HOME/.ghidra, this should be expanded to also look at everything else according to ApplicationUtilities.getDefaultUserSettingsDir

(getLegacyUserSettingsDir is the old implementation used as a fallback if it does not find anything else)

garyttierney commented 7 months ago

Thanks! I'll be looking at this as a part of updating the plugin to use more recent IDE features.

garyttierney commented 6 months ago

Fixed in a4378e5b0fcce727c9bc8e91cd64a5c803f36f98. The plugin will now load the Ghidra Utility.jar to figure out the actual application layout.