Dropped Classic support.

This commit is contained in:
MobiusDev
2015-10-23 23:44:21 +00:00
parent d49a007f9d
commit 39f05439c3
7958 changed files with 58 additions and 782473 deletions

View File

@ -131,7 +131,6 @@ public class DBConfigGUI extends JFrame
_prop.put("dbUser_" + _db, _dbUser.getText());
_prop.put("dbDbse_" + _db, _dbDbse.getText());
boolean classicInstall = false;
DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
setVisible(false);
@ -153,25 +152,19 @@ public class DBConfigGUI extends JFrame
{
Object[] options =
{
"Classic Install",
"Ertheia Install",
"Install Server",
"Exit"
};
int n = JOptionPane.showOptionDialog(null, "Select installation type.", "Select an option", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, options, options[1]);
int n = JOptionPane.showOptionDialog(null, "Install game server database?", "Select an option", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, options, options[1]);
if ((n == 2) || (n == -1))
if ((n == 1) || (n == -1))
{
System.exit(0);
}
if (n == 0)
{
classicInstall = true;
}
}
dbi.setVisible(true);
RunTasks task = new RunTasks(dbi, _db, _dir, classicInstall);
RunTasks task = new RunTasks(dbi, _db, _dir);
task.setPriority(Thread.MAX_PRIORITY);
task.start();
}