[Feat] Bump version to 0.1.0-beta && 1st rel

This commit is contained in:
Minoricew
2025-04-18 19:20:46 +08:00
parent d976184e42
commit 7edf6ec364
40 changed files with 2234 additions and 20 deletions

23
src/core/zeron.js Normal file
View 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);
}
},
});
};