去掉本地的更新逻辑,是有分离后的更新库

This commit is contained in:
2025-10-31 15:50:59 +08:00
parent 8b943b0cca
commit 22b4402737
8 changed files with 1 additions and 567 deletions

View File

@@ -3,7 +3,6 @@ package system
import (
"context"
"github.com/ayflying/p2p/internal/service"
updateGithub "github.com/ayflying/update-github-release"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gcron"
@@ -17,7 +16,6 @@ func New() *sSystem {
}
func init() {
service.RegisterSystem(New())
getDev, _ := g.Cfg().GetWithEnv(gctx.New(), "dev")
if !getDev.Bool() {