Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xKylee committed Feb 27, 2021
1 parent e54050b commit 916a6a5
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ protected PasswordAuthentication getPasswordAuthentication()

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(),
args.length == 0 ? "none" : String.join(" ", args));

Expand All @@ -308,7 +308,7 @@ protected PasswordAuthentication getPasswordAuthentication()
{
log.error("Failure during startup", e);
SwingUtilities.invokeLater(() ->
new FatalErrorDialog("RuneLite has encountered an unexpected error during startup.")
new FatalErrorDialog("OpenOSRS has encountered an unexpected error during startup.")
.open());
}
finally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class InventoryInspector extends JFrame
this.deltaPanel = new InventoryDeltaPanel(itemManager);

setLayout(new BorderLayout());
setTitle("RuneLite Inventory Inspector");
setTitle("OpenOSRS Inventory Inspector");
setIconImage(ClientUI.ICON);

setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public String toString()
this.client = client;
this.configManager = configManager;

setTitle("RuneLite Script Inspector");
setTitle("OpenOSRS Script Inspector");
setIconImage(ClientUI.ICON);

setLayout(new BorderLayout());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private enum VarType
this.clientThread = clientThread;
this.eventBus = eventBus;

setTitle("RuneLite Var Inspector");
setTitle("OpenOSRS Var Inspector");
setIconImage(ClientUI.ICON);

setLayout(new BorderLayout());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private WidgetInspector(

eventBus.register(this);

setTitle("RuneLite Widget Inspector");
setTitle("OpenOSRS Widget Inspector");
setIconImage(ClientUI.ICON);

// Reset highlight on close
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,9 @@ public void show()
if (client != null && !(client instanceof Client))
{
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.",
"RuneLite is outdated", INFORMATION_MESSAGE));
"OpenOSRS is outdated", INFORMATION_MESSAGE));
}
}

Expand Down Expand Up @@ -656,7 +656,7 @@ private void shutdownClient()
}
}
System.exit(0);
}, "RuneLite Shutdown").start();
}, "OpenOSRS Shutdown").start();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public FatalErrorDialog(String message)

try
{
BufferedImage logo = ImageUtil.loadImageResource(FatalErrorDialog.class, "runelite_transparent.png");
BufferedImage logo = ImageUtil.loadImageResource(FatalErrorDialog.class, "openosrs_transparent.png");
setIconImage(logo);

JLabel runelite = new JLabel();
Expand Down Expand Up @@ -202,7 +202,7 @@ public static void showNetErrorWindow(String action, Throwable err)
{
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" +
" java installation.")
.open();
Expand All @@ -211,22 +211,22 @@ public static void showNetErrorWindow(String action, Throwable err)

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")
.open();
return;
}

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 " +
"be down. ")
.addButton("Change your DNS resolver", () -> LinkBrowser.browse(RuneLiteProperties.getDNSChangeLink()))
.open();
return;
}

new FatalErrorDialog("RuneLite encountered a fatal error while " + action + ".").open();
new FatalErrorDialog("OpenOSRS encountered a fatal error while " + action + ".").open();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ public class SplashScreen extends JFrame implements ActionListener

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);
setUndecorated(true);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 916a6a5

Please sign in to comment.