public static File findMinecraftFolder() {
		final String os = System.getProperty("os.name").toLowerCase();
		if (os.indexOf("win") >= 0) {
			return new File(System.getenv("APPDATA"), ".minecraft");
		} else if (os.indexOf("mac") >= 0) {
			return new File(System.getProperty("user.home"),
					"Library/Application Support/.minecraft");
		} else if (os.indexOf("nux") >= 0 || os.indexOf("nix") >= 0
				|| os.indexOf("aix") >= 0) {
			return new File(System.getProperty("user.home"), ".minecraft");
		} else {
			LOGGER.log(Level.INFO, Localization.translate(
					"Config.findMinecraftFolder.unkownOS", os));
			return new File(".");
		}
	}