mirror of
https://github.com/EndPwnArchive/endpwn3.git
synced 2024-08-15 00:23:30 +00:00
crash screen+move css injections to helper.css
This commit is contained in:
parent
176e178be1
commit
cf3f0be936
3 changed files with 35 additions and 9 deletions
|
@ -92,7 +92,9 @@
|
|||
fs.mkdirSync(data + '/crxpwn');
|
||||
fs.writeFileSync(data + '/crxpwn/manifest.json', '{"manifest_version":2,"name":"crxpwn","description":"asarpwn-less preload scripts for the masses ;)","version":"1.0","content_scripts":[{"js":["payload.js"],"matches":["*://*/*"],"run_at":"document_start","all_frames":true}]}');
|
||||
}
|
||||
|
||||
if (!fs.existsSync(data + '/plugins')) fs.mkdirSync(data + '/plugins');
|
||||
if (!fs.existsSync(data + '/styles')) fs.mkdirSync(data + '/styles');
|
||||
|
||||
// dont update EPAPI/CRISPR if DONTUPDATE exists
|
||||
if (!fs.existsSync(data + '/DONTUPDATE')) {
|
||||
|
@ -109,6 +111,9 @@
|
|||
var plugin = await (await fetch(approot + '/plugin.js?_=' + Date.now())).text();
|
||||
fs.writeFileSync(data + '/plugins/system.js', plugin);
|
||||
|
||||
var style = await (await fetch(approot + '/helper.css?_=' + Date.now())).text();
|
||||
fs.writeFileSync(data + '/styles/system.css', style);
|
||||
|
||||
setTimeout(load, 1000);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue