mirror of
https://github.com/HugoAura/Seewo-HugoAura.git
synced 2026-06-20 23:14:28 +08:00
[⚠ Emg Fix] Issue #47
1. [/] 将所有 JS 中的 Magic numbers 更新到最新 SSA 的对应值, 从而解决异常 2. [?] 非常不要脸地 bump 了一个 version
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -22,3 +22,6 @@ desktop.ini
|
|||||||
|
|
||||||
# Editor Files
|
# Editor Files
|
||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
*.bak
|
||||||
|
|||||||
@@ -12,7 +12,12 @@
|
|||||||
> 在[此处](https://github.com/HugoAura/HugoAura/wiki)查看 HugoAura 的安装教程
|
> 在[此处](https://github.com/HugoAura/HugoAura/wiki)查看 HugoAura 的安装教程
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> 已经过测试的希沃管家版本: v1.5.4.3828
|
> 已经过测试的希沃管家版本: v1.5.5.3878
|
||||||
|
|
||||||
|
> [!CAUTION]
|
||||||
|
> 由于作者高三学业繁忙, 项目正处于缓慢更新阶段。
|
||||||
|
>
|
||||||
|
> 作者将尽可能抽出时间维护项目, 但新功能的实现速度将大幅降低。
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> 我们正在使用 C++ 重构 PLS, 新的子项目代号为 [Aikari](https://github.com/HugoAura/HugoAura-Aikari)。其将集成 MQTT 消息中转、HugoAura 自动更新、特权操作辅助等功能。
|
> 我们正在使用 C++ 重构 PLS, 新的子项目代号为 [Aikari](https://github.com/HugoAura/HugoAura-Aikari)。其将集成 MQTT 消息中转、HugoAura 自动更新、特权操作辅助等功能。
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "HugoAura",
|
"name": "HugoAura",
|
||||||
"version": "0.1.1-beta",
|
"version": "0.1.1-beta-patch-1",
|
||||||
"description": "Aura for SeewoHugo",
|
"description": "Aura for SeewoHugo",
|
||||||
"main": "app.asar/main.js",
|
"main": "app.asar/main.js",
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const buildClass = (n) => {
|
const buildClass = (n) => {
|
||||||
// >>> BEGIN OF SEEWO HUGO ORIGINAL CODE <<< //
|
// >>> BEGIN OF SEEWO HUGO ORIGINAL CODE <<< //
|
||||||
const s = n(237),
|
const s = n(239),
|
||||||
o = n(7);
|
o = n(7);
|
||||||
class WebSocketManager {
|
class WebSocketManager {
|
||||||
constructor(e, t) {
|
constructor(e, t) {
|
||||||
|
|||||||
10
src/aura/jsRewrite/vendor/passwordValidation.js
vendored
10
src/aura/jsRewrite/vendor/passwordValidation.js
vendored
@@ -46,8 +46,8 @@ const newFunction = function (e, t, b) {
|
|||||||
_ = b(14),
|
_ = b(14),
|
||||||
M = b(44),
|
M = b(44),
|
||||||
g = b(22),
|
g = b(22),
|
||||||
w = (b(432), b(7)),
|
w = (b(433), b(7)),
|
||||||
D = b(17),
|
D = b(15),
|
||||||
T = b.n(D),
|
T = b.n(D),
|
||||||
j = b(10),
|
j = b(10),
|
||||||
E = b.n(j),
|
E = b.n(j),
|
||||||
@@ -56,7 +56,7 @@ const newFunction = function (e, t, b) {
|
|||||||
z = b(19),
|
z = b(19),
|
||||||
Y = b(78),
|
Y = b(78),
|
||||||
L = b.n(Y);
|
L = b.n(Y);
|
||||||
b(444);
|
b(445);
|
||||||
var x,
|
var x,
|
||||||
k = 2,
|
k = 2,
|
||||||
S = 0,
|
S = 0,
|
||||||
@@ -178,7 +178,7 @@ const newFunction = function (e, t, b) {
|
|||||||
value: s,
|
value: s,
|
||||||
size: n.width || null,
|
size: n.width || null,
|
||||||
})
|
})
|
||||||
: v.a.createElement("img", { src: b(447) })
|
: v.a.createElement("img", { src: b(448) })
|
||||||
),
|
),
|
||||||
d !== C &&
|
d !== C &&
|
||||||
d !== O &&
|
d !== O &&
|
||||||
@@ -386,8 +386,8 @@ const newFunction = function (e, t, b) {
|
|||||||
} else {
|
} else {
|
||||||
originalFunc();
|
originalFunc();
|
||||||
}
|
}
|
||||||
|
// ### EOR ### //
|
||||||
break;
|
break;
|
||||||
// ### EOR ### //
|
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
16
src/aura/jsRewrite/vendor/screenLock.js
vendored
16
src/aura/jsRewrite/vendor/screenLock.js
vendored
@@ -30,12 +30,12 @@ const newFunction = function (e, t, n) {
|
|||||||
p = n.n(h),
|
p = n.n(h),
|
||||||
_ = n(41),
|
_ = n(41),
|
||||||
M = n.n(_),
|
M = n.n(_),
|
||||||
g = (n(808), n(7)),
|
g = (n(814), n(7)),
|
||||||
b = n(9),
|
b = n(9),
|
||||||
y = n(8),
|
y = n(8),
|
||||||
v = n.n(y),
|
v = n.n(y),
|
||||||
w =
|
w =
|
||||||
(n(810),
|
(n(816),
|
||||||
{
|
{
|
||||||
"./numberKeyboard.less": {
|
"./numberKeyboard.less": {
|
||||||
"ps-icon": "numberKeyboard__ps-icon__1KO_WOCz",
|
"ps-icon": "numberKeyboard__ps-icon__1KO_WOCz",
|
||||||
@@ -530,7 +530,7 @@ const newFunction = function (e, t, n) {
|
|||||||
password: "password",
|
password: "password",
|
||||||
},
|
},
|
||||||
G = n(19);
|
G = n(19);
|
||||||
n(812);
|
n(818);
|
||||||
function W(e) {
|
function W(e) {
|
||||||
var t = e.canvasRender,
|
var t = e.canvasRender,
|
||||||
n = void 0 === t || t,
|
n = void 0 === t || t,
|
||||||
@@ -589,12 +589,12 @@ const newFunction = function (e, t, n) {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
n(815);
|
n(821);
|
||||||
var J = n(64),
|
var J = n(64),
|
||||||
V = n(20);
|
V = n(20);
|
||||||
var q,
|
var q,
|
||||||
Z,
|
Z,
|
||||||
X = n(16);
|
X = n(17);
|
||||||
function K(r) {
|
function K(r) {
|
||||||
var a = (function () {
|
var a = (function () {
|
||||||
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
|
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
|
||||||
@@ -805,7 +805,7 @@ const newFunction = function (e, t, n) {
|
|||||||
);
|
);
|
||||||
})(h.PureComponent))
|
})(h.PureComponent))
|
||||||
) || Z,
|
) || Z,
|
||||||
oe = (n(817), n(137).a);
|
oe = (n(823), n(137).a);
|
||||||
function se(t, e) {
|
function se(t, e) {
|
||||||
var n = Object.keys(t);
|
var n = Object.keys(t);
|
||||||
if (Object.getOwnPropertySymbols) {
|
if (Object.getOwnPropertySymbols) {
|
||||||
@@ -913,6 +913,7 @@ const newFunction = function (e, t, n) {
|
|||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
(o.checkPasswordCorrect = function () {
|
(o.checkPasswordCorrect = function () {
|
||||||
|
// ### BOR ### //
|
||||||
const originalAuthFailed = () => {
|
const originalAuthFailed = () => {
|
||||||
o.failCount++,
|
o.failCount++,
|
||||||
o.passwordCheckFail(),
|
o.passwordCheckFail(),
|
||||||
@@ -955,6 +956,7 @@ const newFunction = function (e, t, n) {
|
|||||||
o.state.inputPassword.join("") === o.password
|
o.state.inputPassword.join("") === o.password
|
||||||
? (o.props.onActivationCorrect(), (o.failCount = 0))
|
? (o.props.onActivationCorrect(), (o.failCount = 0))
|
||||||
: customAuthFailed();
|
: customAuthFailed();
|
||||||
|
// ### EOR ### //
|
||||||
}),
|
}),
|
||||||
(o.insertHtml = function () {
|
(o.insertHtml = function () {
|
||||||
return p.a.createElement(
|
return p.a.createElement(
|
||||||
@@ -1002,7 +1004,7 @@ const newFunction = function (e, t, n) {
|
|||||||
n
|
n
|
||||||
);
|
);
|
||||||
})(I),
|
})(I),
|
||||||
me = (n(819), n(38));
|
me = (n(825), n(38));
|
||||||
function fe(r) {
|
function fe(r) {
|
||||||
var a = (function () {
|
var a = (function () {
|
||||||
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
|
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// @ts-check
|
// @ts-check
|
||||||
|
|
||||||
const __AURA_VERSION__ = "0.1.1-beta";
|
const __AURA_VERSION__ = "0.1.1-beta-patch-1";
|
||||||
|
|
||||||
(() => {
|
(() => {
|
||||||
if (require.main) return; // 如果只是导入 Aura Version, 不运行闭包逻辑
|
if (require.main) return; // 如果只是导入 Aura Version, 不运行闭包逻辑
|
||||||
|
|||||||
Reference in New Issue
Block a user