⛄ Sync 2026-03-31 20:32:14

This commit is contained in:
github-actions[bot] committed 2026-03-31 20:32:14 +08:00
1 parent 5e01d5e315
commit 0bbae3ff9d
18 files changed
+428 -1004

No files matched your search

@@ -810,15 +810,15 @@ end
-- ═══════════════════════════════════════════
-- 系统配置检测 API (安装前检测)
-- 检测内存和磁盘空间是否满足最低要求
-- 要求: 内存 > 1GB, 磁盘可用空间 > 1.5GB
-- 要求: 内存 > 1GB, 磁盘可用空间 > 2GB (OpenClaw v2026.3.28+ 包体积约 200MB)
-- ═══════════════════════════════════════════
function action_check_system()
local http = require "luci.http"
local sys = require "luci.sys"
-- 最低要求配置
-- 最低要求配置 (v2026.3.28: 包体积 ~200MB, 建议 2GB 可用空间)
local MIN_MEMORY_MB = 1024 -- 1GB
local MIN_DISK_MB = 1536 -- 1.5GB
local MIN_DISK_MB = 2048 -- 2GB
local result = {
memory_mb = 0,