public static void setDefaultGhidraInstallDir(File dir) {
		IPreferenceStore prefs = Activator.getDefault().getPreferenceStore();
		prefs.setValue(GHIDRA_DEFAULT_INSTALL_PATH, dir != null ? dir.getAbsolutePath() : "");
	}
Sets the default Ghidra installation directory that's defined in the preferences.

@param dir The default Ghidra installation directory that's defined in the preferences.
  Could be null if there is no default.
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/preferences/GhidraProjectCreatorPreferences.java