mirror of
https://github.com/HugoAura/Seewo-HugoAura.git
synced 2026-06-22 08:14:26 +08:00
[Feat] Bump version to 0.1.0-beta && 1st rel
This commit is contained in:
23
src/core/zeron.js
Normal file
23
src/core/zeron.js
Normal file
@@ -0,0 +1,23 @@
|
||||
// Ex-Early Load Pro Plus Max ++
|
||||
|
||||
console.debug("[HugoAura / Zeron] Early load script loaded.");
|
||||
|
||||
module.exports = function (central) {
|
||||
const originalCentral = { ...central };
|
||||
const genHookedWS = require("../aura/init/zeron/hookWS");
|
||||
|
||||
console.debug(
|
||||
"[HugoAura / Zeron / WebSocket Hook] WebSocket hooked class generated."
|
||||
);
|
||||
|
||||
return new Proxy(central, {
|
||||
apply(target, thisArg, args) {
|
||||
switch (args[0]) {
|
||||
case 18:
|
||||
return genHookedWS(central);
|
||||
default:
|
||||
return Reflect.apply(target, thisArg, args);
|
||||
}
|
||||
},
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user