if (LaunchFrame.allowVersionChange) {
curVersion = (Settings.getSettings().getPackVer().equalsIgnoreCase("recommended version") ? pack.getVersion().replace(".", "_") : Settings.getSettings().getPackVer())
.replace(".", "_");
return false;
}
ModpackUpdateDialog p = new ModpackUpdateDialog(LaunchFrame.getInstance(), true);
p.setVisible(true);
if (!update) {
return true;
}
if (backupCFG) {
File destination = new File(OSUtils.getCacheStorageLocation(), "backups" + sep + pack.getDir() + sep + "config_backup");