mirror of
https://github.com/ayflying/p2p.git
synced 2026-03-05 01:39:23 +00:00
去掉本地的更新逻辑,是有分离后的更新库
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user