mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-22 13:40:06 +00:00
Compare commits
3 Commits
cc0f6d1602
...
aa7086aa68
Author | SHA1 | Date | |
---|---|---|---|
|
aa7086aa68 | ||
|
fe6f42f67c | ||
|
c3dc79b42a |
@ -331,6 +331,10 @@ 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");
|
||||
@ -384,8 +388,8 @@ function loadServerList() {
|
||||
}
|
||||
|
||||
function loadCacheList() {
|
||||
var versionjson = remotefs.readJsonSync(versionsPath);
|
||||
versionArray = versionjson["versions"];
|
||||
// we might want to use a new version right away, so reload them
|
||||
loadGameVersions();
|
||||
|
||||
if (!defaultHashes) {
|
||||
defaultHashes = remotefs.readJsonSync(path.join(
|
||||
|
File diff suppressed because it is too large
Load Diff
BIN
lib/cache_handler.exe
vendored
BIN
lib/cache_handler.exe
vendored
Binary file not shown.
Loading…
Reference in New Issue
Block a user