mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
GT-2865: ApplicationIdentifer now removes spaces from application name
and release name.
This commit is contained in:
@@ -352,10 +352,11 @@ public class JavaConfig {
|
||||
}
|
||||
|
||||
// Get the java home save file from user home directory (it might not exist yet).
|
||||
File userSettingsParentDir = new File(userHomeDir, "." + applicationName.toLowerCase());
|
||||
File userSettingsParentDir =
|
||||
new File(userHomeDir, "." + applicationName.replaceAll("\\s", "").toLowerCase());
|
||||
|
||||
String userSettingsDirName = userSettingsParentDir.getName() + "_" + applicationVersion +
|
||||
"_" + applicationReleaseName.toUpperCase();
|
||||
"_" + applicationReleaseName.replaceAll("\\s", "").toUpperCase();
|
||||
|
||||
if (isDev) {
|
||||
userSettingsDirName += "_location_" + installDir.getParentFile().getName();
|
||||
|
||||
Reference in New Issue
Block a user