Change latest update link in button

This commit is contained in:
ceikry 2021-07-19 14:20:49 -05:00
parent 8715fcb6ae
commit 721fb7bd7a

View file

@ -95,7 +95,7 @@ object MainWindow : JFrame("2009scape Launcher") {
button.onMouseExit { label.isVisible = false } button.onMouseExit { label.isVisible = false }
button.onClick { button.onClick {
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) { if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
Desktop.getDesktop().browse(URI("https://2009scape.org/services/m=news/archives/2021-07-12.html")); Desktop.getDesktop().browse(URI("https://2009scape.org/services/m=news/archives/latest.html"));
} }
} }
button.placeAt(5,4,35,35) button.placeAt(5,4,35,35)