public static File getLegacyUserSettingsDir(ApplicationProperties applicationProperties,
			ResourceFile installationDirectory) throws FileNotFoundException {

		ApplicationIdentifier applicationIdentifier =
			new ApplicationIdentifier(applicationProperties);

		File userSettingsParentDir =
			new File(getJavaUserHomeDir(), "." + applicationIdentifier.getApplicationName());

		String userSettingsDirName = "." + applicationIdentifier;

		if (SystemUtilities.isInDevelopmentMode()) {
			// Add the application's installation directory name to this variable, so that each 
			// branch's project user directory is unique.
			userSettingsDirName += "_location_" + installationDirectory.getName();
		}

		return new File(userSettingsParentDir, userSettingsDirName);
	}
Gets the application's legacy (pre-Ghida 11.1) user settings directory.
<p>
NOTE: This method does not create the directory.

@param applicationProperties The application properties.
@param installationDirectory The application installation directory.
@return The application's legacy user settings directory. The returned {@link File} will 
  represent an absolute path.
@throws FileNotFoundException if the absolute path of the legacy user settings directory 
  could not be determined.
Ghidra/Framework/Utility/src/main/java/utility/application/ApplicationUtilities.java