Updater datapath
This commit is contained in:
parent
5f8eeedd1b
commit
cfd600e5f4
|
@ -208,7 +208,7 @@ BetterDiscord.prototype.init = function() {
|
||||||
self.getUtils().log("Hash: "+ _hash);
|
self.getUtils().log("Hash: "+ _hash);
|
||||||
|
|
||||||
//Download latest updater
|
//Download latest updater
|
||||||
self.getUtils().download("raw.githubusercontent.com", "/" + _repo + "/BetterDiscordApp/" + _hash + "/updater.json", function(data) {
|
self.getUtils().download("raw.githubusercontent.com", "/" + _repo + "/BetterDiscordApp/" + _hash + "/data/updater.json", function(data) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
_updater = JSON.parse(data);
|
_updater = JSON.parse(data);
|
||||||
|
|
Loading…
Reference in New Issue