mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-26 15:20:06 +00:00
Compare commits
1 Commits
aa7086aa68
...
cc0f6d1602
Author | SHA1 | Date | |
---|---|---|---|
|
cc0f6d1602 |
@ -331,10 +331,6 @@ function validateCacheLocation() {
|
|||||||
function loadGameVersions() {
|
function loadGameVersions() {
|
||||||
var versionJson = remotefs.readJsonSync(versionsPath);
|
var versionJson = remotefs.readJsonSync(versionsPath);
|
||||||
versionArray = versionJson["versions"];
|
versionArray = versionJson["versions"];
|
||||||
|
|
||||||
$("#addserver-versionselect").empty();
|
|
||||||
$("#editserver-versionselect").empty();
|
|
||||||
|
|
||||||
$.each(versionArray, function (key, value) {
|
$.each(versionArray, function (key, value) {
|
||||||
$(new Option(value.name, "val")).appendTo("#addserver-versionselect");
|
$(new Option(value.name, "val")).appendTo("#addserver-versionselect");
|
||||||
$(new Option(value.name, "val")).appendTo("#editserver-versionselect");
|
$(new Option(value.name, "val")).appendTo("#editserver-versionselect");
|
||||||
@ -388,8 +384,8 @@ function loadServerList() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function loadCacheList() {
|
function loadCacheList() {
|
||||||
// we might want to use a new version right away, so reload them
|
var versionjson = remotefs.readJsonSync(versionsPath);
|
||||||
loadGameVersions();
|
versionArray = versionjson["versions"];
|
||||||
|
|
||||||
if (!defaultHashes) {
|
if (!defaultHashes) {
|
||||||
defaultHashes = remotefs.readJsonSync(path.join(
|
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