Update apps.js

This commit is contained in:
frju365 2018-08-30 13:43:42 +02:00 committed by GitHub
parent 88d94b1bd6
commit 7d650e8e82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -465,7 +465,8 @@
var xhr_object = new XMLHttpRequest(); var xhr_object = new XMLHttpRequest();
xhr_object.open("GET", params.app + "raw/master/manifest.json", false); xhr_object.open("GET", params.app + "raw/master/manifest.json", false);
xhr_object.send(null); xhr_object.send(null);
} == true) { return xhr_object.status
} === 200) {
rawpath = 'raw/master/manifest.json'; rawpath = 'raw/master/manifest.json';
} // Install custom app from github } // Install custom app from github
else if (params.app.indexOf("github.com") !== "-1") { else if (params.app.indexOf("github.com") !== "-1") {