update
This commit is contained in:
@@ -283,7 +283,7 @@ public class RuneLite
|
|||||||
|
|
||||||
PROFILES_DIR.mkdirs();
|
PROFILES_DIR.mkdirs();
|
||||||
|
|
||||||
log.info("RuneLite {} (launcher version {}) starting up, args: {}",
|
log.info("OpenOSRS {} (launcher version {}) starting up, args: {}",
|
||||||
RuneLiteProperties.getVersion(), RuneLiteProperties.getLauncherVersion() == null ? "unknown" : RuneLiteProperties.getLauncherVersion(),
|
RuneLiteProperties.getVersion(), RuneLiteProperties.getLauncherVersion() == null ? "unknown" : RuneLiteProperties.getLauncherVersion(),
|
||||||
args.length == 0 ? "none" : String.join(" ", args));
|
args.length == 0 ? "none" : String.join(" ", args));
|
||||||
|
|
||||||
@@ -308,7 +308,7 @@ public class RuneLite
|
|||||||
{
|
{
|
||||||
log.error("Failure during startup", e);
|
log.error("Failure during startup", e);
|
||||||
SwingUtilities.invokeLater(() ->
|
SwingUtilities.invokeLater(() ->
|
||||||
new FatalErrorDialog("RuneLite has encountered an unexpected error during startup.")
|
new FatalErrorDialog("OpenOSRS has encountered an unexpected error during startup.")
|
||||||
.open());
|
.open());
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ class InventoryInspector extends JFrame
|
|||||||
this.deltaPanel = new InventoryDeltaPanel(itemManager);
|
this.deltaPanel = new InventoryDeltaPanel(itemManager);
|
||||||
|
|
||||||
setLayout(new BorderLayout());
|
setLayout(new BorderLayout());
|
||||||
setTitle("RuneLite Inventory Inspector");
|
setTitle("OpenOSRS Inventory Inspector");
|
||||||
setIconImage(ClientUI.ICON);
|
setIconImage(ClientUI.ICON);
|
||||||
|
|
||||||
setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
|
setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ public class ScriptInspector extends JFrame
|
|||||||
this.client = client;
|
this.client = client;
|
||||||
this.configManager = configManager;
|
this.configManager = configManager;
|
||||||
|
|
||||||
setTitle("RuneLite Script Inspector");
|
setTitle("OpenOSRS Script Inspector");
|
||||||
setIconImage(ClientUI.ICON);
|
setIconImage(ClientUI.ICON);
|
||||||
|
|
||||||
setLayout(new BorderLayout());
|
setLayout(new BorderLayout());
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ class VarInspector extends JFrame
|
|||||||
this.clientThread = clientThread;
|
this.clientThread = clientThread;
|
||||||
this.eventBus = eventBus;
|
this.eventBus = eventBus;
|
||||||
|
|
||||||
setTitle("RuneLite Var Inspector");
|
setTitle("OpenOSRS Var Inspector");
|
||||||
setIconImage(ClientUI.ICON);
|
setIconImage(ClientUI.ICON);
|
||||||
|
|
||||||
setLayout(new BorderLayout());
|
setLayout(new BorderLayout());
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ class WidgetInspector extends JFrame
|
|||||||
|
|
||||||
eventBus.register(this);
|
eventBus.register(this);
|
||||||
|
|
||||||
setTitle("RuneLite Widget Inspector");
|
setTitle("OpenOSRS Widget Inspector");
|
||||||
setIconImage(ClientUI.ICON);
|
setIconImage(ClientUI.ICON);
|
||||||
|
|
||||||
// Reset highlight on close
|
// Reset highlight on close
|
||||||
|
|||||||
@@ -581,9 +581,9 @@ public class ClientUI
|
|||||||
if (client != null && !(client instanceof Client))
|
if (client != null && !(client instanceof Client))
|
||||||
{
|
{
|
||||||
SwingUtilities.invokeLater(() -> JOptionPane.showMessageDialog(frame,
|
SwingUtilities.invokeLater(() -> JOptionPane.showMessageDialog(frame,
|
||||||
"RuneLite has not yet been updated to work with the latest\n"
|
"OpenOSRS has not yet been updated to work with the latest\n"
|
||||||
+ "game update, it will work with reduced functionality until then.",
|
+ "game update, it will work with reduced functionality until then.",
|
||||||
"RuneLite is outdated", INFORMATION_MESSAGE));
|
"OpenOSRS is outdated", INFORMATION_MESSAGE));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -656,7 +656,7 @@ public class ClientUI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
System.exit(0);
|
System.exit(0);
|
||||||
}, "RuneLite Shutdown").start();
|
}, "OpenOSRS Shutdown").start();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ public class FatalErrorDialog extends JDialog
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
BufferedImage logo = ImageUtil.loadImageResource(FatalErrorDialog.class, "runelite_transparent.png");
|
BufferedImage logo = ImageUtil.loadImageResource(FatalErrorDialog.class, "openosrs_transparent.png");
|
||||||
setIconImage(logo);
|
setIconImage(logo);
|
||||||
|
|
||||||
JLabel runelite = new JLabel();
|
JLabel runelite = new JLabel();
|
||||||
@@ -202,7 +202,7 @@ public class FatalErrorDialog extends JDialog
|
|||||||
{
|
{
|
||||||
if (err instanceof VerificationException || err instanceof GeneralSecurityException)
|
if (err instanceof VerificationException || err instanceof GeneralSecurityException)
|
||||||
{
|
{
|
||||||
new FatalErrorDialog("RuneLite was unable to verify the security of its connection to the internet while " +
|
new FatalErrorDialog("OpenOSRS was unable to verify the security of its connection to the internet while " +
|
||||||
action + ". You may have a misbehaving antivirus, internet service provider, a proxy, or an incomplete" +
|
action + ". You may have a misbehaving antivirus, internet service provider, a proxy, or an incomplete" +
|
||||||
" java installation.")
|
" java installation.")
|
||||||
.open();
|
.open();
|
||||||
@@ -211,7 +211,7 @@ public class FatalErrorDialog extends JDialog
|
|||||||
|
|
||||||
if (err instanceof ConnectException)
|
if (err instanceof ConnectException)
|
||||||
{
|
{
|
||||||
new FatalErrorDialog("RuneLite is unable to connect to a required server while " + action + ". " +
|
new FatalErrorDialog("OpenOSRS is unable to connect to a required server while " + action + ". " +
|
||||||
"Please check your internet connection")
|
"Please check your internet connection")
|
||||||
.open();
|
.open();
|
||||||
return;
|
return;
|
||||||
@@ -219,7 +219,7 @@ public class FatalErrorDialog extends JDialog
|
|||||||
|
|
||||||
if (err instanceof UnknownHostException)
|
if (err instanceof UnknownHostException)
|
||||||
{
|
{
|
||||||
new FatalErrorDialog("RuneLite is unable to resolve the address of a required server while " + action + ". " +
|
new FatalErrorDialog("OpenOSRS is unable to resolve the address of a required server while " + action + ". " +
|
||||||
"Your DNS resolver may be misconfigured, pointing to an inaccurate resolver, or your internet connection may " +
|
"Your DNS resolver may be misconfigured, pointing to an inaccurate resolver, or your internet connection may " +
|
||||||
"be down. ")
|
"be down. ")
|
||||||
.addButton("Change your DNS resolver", () -> LinkBrowser.browse(RuneLiteProperties.getDNSChangeLink()))
|
.addButton("Change your DNS resolver", () -> LinkBrowser.browse(RuneLiteProperties.getDNSChangeLink()))
|
||||||
@@ -227,6 +227,6 @@ public class FatalErrorDialog extends JDialog
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
new FatalErrorDialog("RuneLite encountered a fatal error while " + action + ".").open();
|
new FatalErrorDialog("OpenOSRS encountered a fatal error while " + action + ".").open();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -69,9 +69,9 @@ public class SplashScreen extends JFrame implements ActionListener
|
|||||||
|
|
||||||
private SplashScreen() throws IOException
|
private SplashScreen() throws IOException
|
||||||
{
|
{
|
||||||
BufferedImage logo = ImageUtil.loadImageResource(SplashScreen.class, "runelite_transparent.png");
|
BufferedImage logo = ImageUtil.loadImageResource(SplashScreen.class, "openosrs_transparent.png");
|
||||||
|
|
||||||
setTitle("RuneLite Launcher");
|
setTitle("OpenOSRS Launcher");
|
||||||
|
|
||||||
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||||
setUndecorated(true);
|
setUndecorated(true);
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Reference in New Issue
Block a user