This commit is contained in:
cryptofyre 2022-10-14 18:22:48 -05:00
parent e3a91e6e1a
commit af3cab86f3

View file

@ -66,12 +66,11 @@ export default class DiscordRPC {
"url": imageurl
},
})
.then((res) => res.json())
.then(function (json) {
self._attributes["artwork"]["url"] = json.imageUrl;
self.setActivity(self._attributes);
});
}
.then((res) => res.json())
.then(function (json) {
self._attributes["artwork"]["url"] = json.imageUrl;
self.setActivity(self._attributes);
});
}
});
ipcMain.on("discordrpc:reload", (_event, configUpdate = null) => {