Skip to content

Commit 2b9d1c9

Browse files
committed
[⚠ Emg Fix] Issue #47
1. [/] 将所有 JS 中的 Magic numbers 更新到最新 SSA 的对应值, 从而解决异常 2. [?] 非常不要脸地 bump 了一个 version
1 parent abd5a10 commit 2b9d1c9

7 files changed

Lines changed: 26 additions & 16 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ desktop.ini
2222

2323
# Editor Files
2424
.vscode/
25+
26+
# Misc
27+
*.bak

README.md

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "HugoAura",
3-
"version": "0.1.1-beta",
3+
"version": "0.1.1-beta-patch-1",
44
"description": "Aura for SeewoHugo",
55
"main": "app.asar/main.js",
66
"dependencies": {},

src/aura/init/zeron/hookWS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const buildClass = (n) => {
22
// >>> BEGIN OF SEEWO HUGO ORIGINAL CODE <<< //
3-
const s = n(237),
3+
const s = n(239),
44
o = n(7);
55
class WebSocketManager {
66
constructor(e, t) {

src/aura/jsRewrite/vendor/passwordValidation.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ const newFunction = function (e, t, b) {
4646
_ = b(14),
4747
M = b(44),
4848
g = b(22),
49-
w = (b(432), b(7)),
50-
D = b(17),
49+
w = (b(433), b(7)),
50+
D = b(15),
5151
T = b.n(D),
5252
j = b(10),
5353
E = b.n(j),
@@ -56,7 +56,7 @@ const newFunction = function (e, t, b) {
5656
z = b(19),
5757
Y = b(78),
5858
L = b.n(Y);
59-
b(444);
59+
b(445);
6060
var x,
6161
k = 2,
6262
S = 0,
@@ -178,7 +178,7 @@ const newFunction = function (e, t, b) {
178178
value: s,
179179
size: n.width || null,
180180
})
181-
: v.a.createElement("img", { src: b(447) })
181+
: v.a.createElement("img", { src: b(448) })
182182
),
183183
d !== C &&
184184
d !== O &&
@@ -386,8 +386,8 @@ const newFunction = function (e, t, b) {
386386
} else {
387387
originalFunc();
388388
}
389+
// ### EOR ### //
389390
break;
390-
// ### EOR ### //
391391
default:
392392
return;
393393
}

src/aura/jsRewrite/vendor/screenLock.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ const newFunction = function (e, t, n) {
3030
p = n.n(h),
3131
_ = n(41),
3232
M = n.n(_),
33-
g = (n(808), n(7)),
33+
g = (n(814), n(7)),
3434
b = n(9),
3535
y = n(8),
3636
v = n.n(y),
3737
w =
38-
(n(810),
38+
(n(816),
3939
{
4040
"./numberKeyboard.less": {
4141
"ps-icon": "numberKeyboard__ps-icon__1KO_WOCz",
@@ -530,7 +530,7 @@ const newFunction = function (e, t, n) {
530530
password: "password",
531531
},
532532
G = n(19);
533-
n(812);
533+
n(818);
534534
function W(e) {
535535
var t = e.canvasRender,
536536
n = void 0 === t || t,
@@ -589,12 +589,12 @@ const newFunction = function (e, t, n) {
589589
)
590590
);
591591
}
592-
n(815);
592+
n(821);
593593
var J = n(64),
594594
V = n(20);
595595
var q,
596596
Z,
597-
X = n(16);
597+
X = n(17);
598598
function K(r) {
599599
var a = (function () {
600600
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
@@ -805,7 +805,7 @@ const newFunction = function (e, t, n) {
805805
);
806806
})(h.PureComponent))
807807
) || Z,
808-
oe = (n(817), n(137).a);
808+
oe = (n(823), n(137).a);
809809
function se(t, e) {
810810
var n = Object.keys(t);
811811
if (Object.getOwnPropertySymbols) {
@@ -913,6 +913,7 @@ const newFunction = function (e, t, n) {
913913
});
914914
}),
915915
(o.checkPasswordCorrect = function () {
916+
// ### BOR ### //
916917
const originalAuthFailed = () => {
917918
o.failCount++,
918919
o.passwordCheckFail(),
@@ -955,6 +956,7 @@ const newFunction = function (e, t, n) {
955956
o.state.inputPassword.join("") === o.password
956957
? (o.props.onActivationCorrect(), (o.failCount = 0))
957958
: customAuthFailed();
959+
// ### EOR ### //
958960
}),
959961
(o.insertHtml = function () {
960962
return p.a.createElement(
@@ -1002,7 +1004,7 @@ const newFunction = function (e, t, n) {
10021004
n
10031005
);
10041006
})(I),
1005-
me = (n(819), n(38));
1007+
me = (n(825), n(38));
10061008
function fe(r) {
10071009
var a = (function () {
10081010
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;

src/core/preload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @ts-check
22

3-
const __AURA_VERSION__ = "0.1.1-beta";
3+
const __AURA_VERSION__ = "0.1.1-beta-patch-1";
44

55
(() => {
66
if (require.main) return; // 如果只是导入 Aura Version, 不运行闭包逻辑

0 commit comments

Comments
 (0)