mirror of
https://github.com/EndPwnArchive/endpwn3.git
synced 2024-08-15 00:23:30 +00:00
fingers crossed
// TODO: setup a staging system
This commit is contained in:
parent
b62606a61b
commit
13412fd1be
2 changed files with 40 additions and 3 deletions
14
monitor.htm
14
monitor.htm
|
@ -48,15 +48,23 @@
|
|||
win.loadURL('https://' + (branch ? branch + '.' : '') + 'discordapp.com/channels/@me');
|
||||
}
|
||||
|
||||
// dont update EPAPI if DONTUPDATE exists
|
||||
// dont update EPAPI/CRISPR if DONTUPDATE exists
|
||||
if (!fs.existsSync(data + '/DONTUPDATE')) {
|
||||
|
||||
// grab EPAPI from master
|
||||
// update EPAPI
|
||||
fetch('https://endpwn.github.io/epapi/epapi.js?_=' + Date.now())
|
||||
.then(r => r.text())
|
||||
.then(epapi => {
|
||||
fs.writeFileSync(data + '/epapi.js', epapi);
|
||||
setTimeout(load, 1000);
|
||||
|
||||
// update CRISPR
|
||||
fetch('https://endpwn.github.io/crispr/crispr.js?_=' + Date.now())
|
||||
.then(r => r.text())
|
||||
.then(epapi => {
|
||||
fs.writeFileSync(data + '/crispr.js', epapi);
|
||||
setTimeout(load, 1000);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue