log when checking for updates

This commit is contained in:
Astra 2018-04-26 07:33:21 -04:00
parent a9f17570e0
commit ef1d47dde7

View file

@ -115,6 +115,8 @@
if ($api.lite || !fs.existsSync($api.data + '/DONTUPDATE')) if ($api.lite || !fs.existsSync($api.data + '/DONTUPDATE'))
(function () { (function () {
console.log(`%c[EndPwn]%c checking for EPAPI updates...`, 'font-weight:bold;color:#0cc', '');
// fetch the latest build of epapi // fetch the latest build of epapi
fetch('https://endpwn.github.io/epapi/epapi.js?_=' + Date.now()).then(x => x.text()).then(x => { fetch('https://endpwn.github.io/epapi/epapi.js?_=' + Date.now()).then(x => x.text()).then(x => {