mirror of
https://github.com/hotwa/luci-app-openclaw.git
synced 2026-03-31 04:52:33 +00:00
chore: remove offline installation support completely
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user