feat: 更新入口文件与模块 — 自动下载、版本校验、权限管理、日志落盘

This commit is contained in:
root
2026-04-20 10:40:12 +08:00
parent 72702d557b
commit 6b112d011a
6 changed files with 185 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
// @version 1.0.0
// ToolHub - Android 悬浮球工具 (ShortX / Rhino ES5)
// 来源: 阿然 (xin-blog.com)
//

View File

@@ -1,3 +1,4 @@
// @version 1.0.0
function FloatBallAppWM(logger) {
this.L = logger || null;

View File

@@ -1,3 +1,4 @@
// @version 1.0.0
FloatBallAppWM.prototype.buildSettingsPanelView = function() {
this.beginEditConfig();

View File

@@ -1,3 +1,4 @@
// @version 1.0.0
FloatBallAppWM.prototype.buildViewerPanelView = function(titleText, bodyText) {
var self = this;
var isDark = this.isDarkTheme();

View File

@@ -1,3 +1,4 @@
// @version 1.0.0
function runOnMainSync(fn, timeoutMs) {
if (!fn) return { ok: false, error: "empty-fn" };
try {