Database installer adjustments for Linux.
Thanks to L2Hanesfor.
This commit is contained in:
parent
63943a72a0
commit
b902cdaaa4
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobius";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusc4";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusc4";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusc6";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusc6";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusinterlude";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusinterlude";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusepilogue";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusepilogue";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiush5";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiush5";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusclassic";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusclassicinterlude";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusclassicinterlude";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusessence";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusessence";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusessence";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusessence";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusessence";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusessence";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherGS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherGS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/game/";
|
||||
final String defDatabase = "l2jmobiusessence";
|
||||
final String dir = "sql/game/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -17,6 +17,7 @@
|
||||
package org.l2jmobius.tools.dbinstaller;
|
||||
|
||||
import java.awt.HeadlessException;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@ -31,8 +32,9 @@ public class LauncherLS extends AbstractDBLauncher
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
final File file = new File(LauncherLS.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
|
||||
final String dir = file.getParent() + "/" + "sql/login/";
|
||||
final String defDatabase = "l2jmobiusessence";
|
||||
final String dir = "sql/login/";
|
||||
|
||||
if ((args != null) && (args.length > 0))
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ public class DBConfigGUI extends JFrame
|
||||
final DBInstallerGUI dbi = new DBInstallerGUI(connector.getConnection());
|
||||
setVisible(false);
|
||||
|
||||
if (_dir.equals("sql/login/"))
|
||||
if (_dir.contains("sql/login/"))
|
||||
{
|
||||
final Object[] options =
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user