mirror of
https://gitlab.com/2009scape/09launcher.git
synced 2025-12-09 16:45:54 -07:00
JS5 port go brrrrrrr fast
This commit is contained in:
parent
2c6296076a
commit
1437f7814f
2 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
import settingseditor.Json
|
||||||
import java.awt.Image
|
import java.awt.Image
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import java.io.RandomAccessFile
|
import java.io.RandomAccessFile
|
||||||
|
|
@ -30,6 +31,7 @@ object Updater {
|
||||||
launcherRemoteMD5 = Checksum.getRemoteChecksum(Settings.LAUNCHER_URL) ?: "-1"
|
launcherRemoteMD5 = Checksum.getRemoteChecksum(Settings.LAUNCHER_URL) ?: "-1"
|
||||||
println("Launcher Local: $launcherLocalMD5 || Launcher Remote: $launcherRemoteMD5")
|
println("Launcher Local: $launcherLocalMD5 || Launcher Remote: $launcherRemoteMD5")
|
||||||
launcherStatus = UpdateStatus.COMPLETE
|
launcherStatus = UpdateStatus.COMPLETE
|
||||||
|
Json.save()
|
||||||
}
|
}
|
||||||
|
|
||||||
fun runUpdate(){
|
fun runUpdate(){
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ object Json {
|
||||||
val border = rcm["border"] as JSONObject
|
val border = rcm["border"] as JSONObject
|
||||||
val debug = data["debug"] as JSONObject
|
val debug = data["debug"] as JSONObject
|
||||||
|
|
||||||
|
data["js5_port"] = 43595
|
||||||
background["color"] = SettingsWindow.bgColorField.text
|
background["color"] = SettingsWindow.bgColorField.text
|
||||||
background["opacity"] = SettingsWindow.bgOpacityField.text
|
background["opacity"] = SettingsWindow.bgOpacityField.text
|
||||||
title_bar["color"] = SettingsWindow.titleColorField.text
|
title_bar["color"] = SettingsWindow.titleColorField.text
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue