mirror of
https://github.com/yuzu-emu/liftinstall
synced 2024-11-23 17:04:02 +00:00
Fix launcher with new config system
This commit is contained in:
parent
d4dd3fb182
commit
708a194764
2 changed files with 3 additions and 3 deletions
|
@ -252,7 +252,7 @@
|
|||
}
|
||||
|
||||
if (e.is_launcher) {
|
||||
document.getElementById("window-title").innerText = config.name + " Updater";
|
||||
document.getElementById("window-title").innerText = app.attrs.name + " Updater";
|
||||
|
||||
app.is_launcher = true;
|
||||
app.install();
|
||||
|
|
|
@ -26,7 +26,7 @@ function ajax(path, successCallback, failCallback, data) {
|
|||
if (this.status === 200 && this.getResponseHeader('Content-Type').indexOf("application/json") !== -1) {
|
||||
successCallback(JSON.parse(this.responseText));
|
||||
} else {
|
||||
failCallback();
|
||||
failCallback(this.responseText);
|
||||
}
|
||||
});
|
||||
req.addEventListener("error", failCallback);
|
||||
|
@ -69,7 +69,7 @@ function stream_ajax(path, callback, successCallback, failCallback, data) {
|
|||
if (this.status === 200) {
|
||||
successCallback(this.responseText);
|
||||
} else {
|
||||
failCallback();
|
||||
failCallback(this.responseText);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue