private static File getPropertyFile(File dir) {

		File f = new File(dir, PROPERTIES_FILE_NAME_UNINSTALLED);
		if (f.exists()) {
			return f;
		}

		f = new File(dir, PROPERTIES_FILE_NAME);
		if (f.exists()) {
			return f;
		}

		return null;
	}
Returns an extension.properties or extension.properties.uninstalled file if the given
directory contains one.

@param dir the directory to search
@return the file, or null if doesn't exist
Ghidra/Framework/Generic/src/main/java/ghidra/util/extensions/ExtensionUtils.java