protected void installMap (String mapName, String dir) throws IOException {
Logger.logInfo("Installing Map");
String installPath = Settings.getSettings().getInstallPath();
String tempPath = OSUtils.getCacheStorageLocation();
Map map = Map.getSelectedMap();
new File(installPath, map.getSelectedCompatible() + "/minecraft/saves/" + dir).mkdirs();
FTBFileUtils.copyFolder(new File(tempPath, MAPS + dir + "/" + dir), new File(installPath, map.getSelectedCompatible() + "/minecraft/saves/" + dir));
FTBFileUtils.copyFile(new File(tempPath, MAPS + dir + "/" + "version"), new File(installPath, map.getSelectedCompatible() + "/minecraft/saves/" + dir + "/version"));
TrackerUtils.sendPageView(map.getName() + " Install", "Maps / " + map.getName());
}