Skip to content

Commit

Permalink
Beta55 (#170)
Browse files Browse the repository at this point in the history
* beta55

* beta55
  • Loading branch information
Hoshinonyaruko authored Nov 25, 2023
1 parent 0a7dab7 commit 4a5b50f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webui/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"net/http"
"os"
"path/filepath"
"runtime"
"strconv"
"strings"
"time"
Expand Down Expand Up @@ -88,7 +89,10 @@ func CombinedMiddleware(api openapi.OpenAPI, apiV2 openapi.OpenAPI) gin.HandlerF
}
//进程监控
if c.Param("filepath") == "/api/status" && c.Request.Method == http.MethodGet {
handleSysInfo(c)
// 检查操作系统是否不为Android
if runtime.GOOS != "android" {
handleSysInfo(c)
}
return
}
//更新当前选中机器人的配置并重启应用(保持地址不变)
Expand Down

0 comments on commit 4a5b50f

Please sign in to comment.