Compare commits

..

1 Commits

Author SHA1 Message Date
FinnHornhoover
cc0f6d1602
Merge e11023df54 into ec0fc87dcd 2023-11-15 07:03:04 +00:00
3 changed files with 102 additions and 655 deletions

View File

@ -331,10 +331,6 @@ function validateCacheLocation() {
function loadGameVersions() {
var versionJson = remotefs.readJsonSync(versionsPath);
versionArray = versionJson["versions"];
$("#addserver-versionselect").empty();
$("#editserver-versionselect").empty();
$.each(versionArray, function (key, value) {
$(new Option(value.name, "val")).appendTo("#addserver-versionselect");
$(new Option(value.name, "val")).appendTo("#editserver-versionselect");
@ -388,8 +384,8 @@ function loadServerList() {
}
function loadCacheList() {
// we might want to use a new version right away, so reload them
loadGameVersions();
var versionjson = remotefs.readJsonSync(versionsPath);
versionArray = versionjson["versions"];
if (!defaultHashes) {
defaultHashes = remotefs.readJsonSync(path.join(

File diff suppressed because it is too large Load Diff

BIN
lib/cache_handler.exe vendored

Binary file not shown.