[⚠ Emg Fix] Issue #47

1. [/] 将所有 JS 中的 Magic numbers 更新到最新 SSA 的对应值, 从而解决异常
2. [?] 非常不要脸地 bump 了一个 version
This commit is contained in:
Minoricew
2025-11-07 22:13:49 +08:00
parent abd5a10d24
commit 2b9d1c97c5
7 changed files with 26 additions and 16 deletions

3
.gitignore vendored
View File

@@ -22,3 +22,6 @@ desktop.ini
# Editor Files
.vscode/
# Misc
*.bak

View File

@@ -12,7 +12,12 @@
> 在[此处](https://github.com/HugoAura/HugoAura/wiki)查看 HugoAura 的安装教程
> [!IMPORTANT]
> 已经过测试的希沃管家版本: v1.5.4.3828
> 已经过测试的希沃管家版本: v1.5.5.3878
> [!CAUTION]
> 由于作者高三学业繁忙, 项目正处于缓慢更新阶段。
>
> 作者将尽可能抽出时间维护项目, 但新功能的实现速度将大幅降低。
> [!WARNING]
> 我们正在使用 C++ 重构 PLS, 新的子项目代号为 [Aikari](https://github.com/HugoAura/HugoAura-Aikari)。其将集成 MQTT 消息中转、HugoAura 自动更新、特权操作辅助等功能。

View File

@@ -1,6 +1,6 @@
{
"name": "HugoAura",
"version": "0.1.1-beta",
"version": "0.1.1-beta-patch-1",
"description": "Aura for SeewoHugo",
"main": "app.asar/main.js",
"dependencies": {},

View File

@@ -1,6 +1,6 @@
const buildClass = (n) => {
// >>> BEGIN OF SEEWO HUGO ORIGINAL CODE <<< //
const s = n(237),
const s = n(239),
o = n(7);
class WebSocketManager {
constructor(e, t) {

View File

@@ -46,8 +46,8 @@ const newFunction = function (e, t, b) {
_ = b(14),
M = b(44),
g = b(22),
w = (b(432), b(7)),
D = b(17),
w = (b(433), b(7)),
D = b(15),
T = b.n(D),
j = b(10),
E = b.n(j),
@@ -56,7 +56,7 @@ const newFunction = function (e, t, b) {
z = b(19),
Y = b(78),
L = b.n(Y);
b(444);
b(445);
var x,
k = 2,
S = 0,
@@ -178,7 +178,7 @@ const newFunction = function (e, t, b) {
value: s,
size: n.width || null,
})
: v.a.createElement("img", { src: b(447) })
: v.a.createElement("img", { src: b(448) })
),
d !== C &&
d !== O &&
@@ -386,8 +386,8 @@ const newFunction = function (e, t, b) {
} else {
originalFunc();
}
break;
// ### EOR ### //
break;
default:
return;
}

View File

@@ -30,12 +30,12 @@ const newFunction = function (e, t, n) {
p = n.n(h),
_ = n(41),
M = n.n(_),
g = (n(808), n(7)),
g = (n(814), n(7)),
b = n(9),
y = n(8),
v = n.n(y),
w =
(n(810),
(n(816),
{
"./numberKeyboard.less": {
"ps-icon": "numberKeyboard__ps-icon__1KO_WOCz",
@@ -530,7 +530,7 @@ const newFunction = function (e, t, n) {
password: "password",
},
G = n(19);
n(812);
n(818);
function W(e) {
var t = e.canvasRender,
n = void 0 === t || t,
@@ -589,12 +589,12 @@ const newFunction = function (e, t, n) {
)
);
}
n(815);
n(821);
var J = n(64),
V = n(20);
var q,
Z,
X = n(16);
X = n(17);
function K(r) {
var a = (function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
@@ -805,7 +805,7 @@ const newFunction = function (e, t, n) {
);
})(h.PureComponent))
) || Z,
oe = (n(817), n(137).a);
oe = (n(823), n(137).a);
function se(t, e) {
var n = Object.keys(t);
if (Object.getOwnPropertySymbols) {
@@ -913,6 +913,7 @@ const newFunction = function (e, t, n) {
});
}),
(o.checkPasswordCorrect = function () {
// ### BOR ### //
const originalAuthFailed = () => {
o.failCount++,
o.passwordCheckFail(),
@@ -955,6 +956,7 @@ const newFunction = function (e, t, n) {
o.state.inputPassword.join("") === o.password
? (o.props.onActivationCorrect(), (o.failCount = 0))
: customAuthFailed();
// ### EOR ### //
}),
(o.insertHtml = function () {
return p.a.createElement(
@@ -1002,7 +1004,7 @@ const newFunction = function (e, t, n) {
n
);
})(I),
me = (n(819), n(38));
me = (n(825), n(38));
function fe(r) {
var a = (function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;

View File

@@ -1,6 +1,6 @@
// @ts-check
const __AURA_VERSION__ = "0.1.1-beta";
const __AURA_VERSION__ = "0.1.1-beta-patch-1";
(() => {
if (require.main) return; // 如果只是导入 Aura Version, 不运行闭包逻辑