chore: remove offline installation support completely

This commit is contained in:
10000ge10000
2026-03-13 14:07:53 +08:00
parent b3d4b738f8
commit 04a1177485
11 changed files with 33 additions and 1290 deletions

View File

@@ -82,16 +82,6 @@ function action_status()
end
-- 安装方式检测 (离线 / 在线)
local olf = io.open("/usr/share/openclaw/.offline-install", "r")
if olf then
local content = olf:read("*a")
olf:close()
result.install_type = "offline"
result.install_date = content:match("date=([^\n]+)") or ""
result.install_arch = content:match("arch=([^\n]+)") or ""
else
result.install_type = "online"
end
-- 检查 Node.js
local node_bin = "/opt/openclaw/node/bin/node"