Open
Description
Is your feature request related to a problem? Please describe.
Ghidra is not consistent when it comes to application settings path. Lets take a look at application.settingsdir
that you can declare in launch.properties
file and application.version
that you declare in application.properties
.
ghidra/Ghidra/RuntimeScripts/Common/support/launch.properties
Lines 86 to 97 in 4247ae7
ghidra/Ghidra/application.properties
Line 2 in 4247ae7
Given my username buk
:
Example 1:
#VMARGS=-Dapplication.settingsdir=
C:\Users\buk\AppData\Roaming\AppData\ghidra_11.3_PUBLIC
Example 2:
VMARGS=-Dapplication.settingsdir=C:\ghidra\ghidra_11.3\Contrib\APPDATA
C:\ghidra\ghidra_11.3\Contrib\APPDATA\buk-ghidra\ghidra_11.3_PUBLIC
Result:
- ghidra creates subdirectories inside
settingsdir
path (hard to know what will be final path) - ghidra creates directory based on
application.version
(setting that comes from totally different file which also requires changing when your trying to make the installation portable) - ghidra doesn't allow relative paths in these settings (harder to make it portable)
Extra:
- this makes it very inconsistent and hard to make a portable installation.
- there is probably more issues related to these settings:
Describe the solution you'd like
Consistent way that allows for portability.