#publish fix typo

main
xian18 3 years ago
parent f3636bccda
commit a1b5eb4339

@ -407,7 +407,6 @@ var SF_Plugins = SF_Plugins || {};
var success = (function () { var success = (function () {
this._remoteFileInfo = JsonEx.parse(FileUtils.readTextFile(SF_AutoUpdate.remoteFileInfoName)); this._remoteFileInfo = JsonEx.parse(FileUtils.readTextFile(SF_AutoUpdate.remoteFileInfoName));
this._status = "completed"; this._status = "completed";
this._nextJob = "compare file info";
}).bind(this); }).bind(this);
var fail = (function () { var fail = (function () {
@ -425,7 +424,7 @@ var SF_Plugins = SF_Plugins || {};
Scene_AutoUpdate.prototype.compareFileInfo = function () { Scene_AutoUpdate.prototype.compareFileInfo = function () {
this._compareWorker.postMessage({ this._compareWorker.postMessage({
"type": "compare", "command": "compare",
"localFileInfo": this._localFileInfo, "localFileInfo": this._localFileInfo,
"remoteFileInfo": this._remoteFileInfo "remoteFileInfo": this._remoteFileInfo
}); });
@ -465,7 +464,6 @@ var SF_Plugins = SF_Plugins || {};
this._updateFileCount = this._updateFileList.length; this._updateFileCount = this._updateFileList.length;
if (this._updateFileCount === 0) { if (this._updateFileCount === 0) {
this._status = "completed"; this._status = "completed";
this._nextJob = "";
return; return;
} }
this._updateFileName = this._updateFileList[this._updateFileIndex]; this._updateFileName = this._updateFileList[this._updateFileIndex];
@ -477,7 +475,6 @@ var SF_Plugins = SF_Plugins || {};
this._updateFileIndex++; this._updateFileIndex++;
if (this._updateFileIndex >= this._updateFileCount) { if (this._updateFileIndex >= this._updateFileCount) {
this._status = "completed"; this._status = "completed";
this._nextJob = "";
this._updateSuccess = true; this._updateSuccess = true;
} else { } else {
this._updateFileName = this._updateFileList[this._updateFileIndex]; this._updateFileName = this._updateFileList[this._updateFileIndex];

Loading…
Cancel
Save