mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-22 11:45:41 +01:00
Fix launcher with new config system
This commit is contained in:
parent
d4dd3fb182
commit
708a194764
@ -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 New Issue
Block a user