mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
add some
This commit is contained in:
parent
f462d5eca5
commit
61b601c3c4
@ -254,7 +254,7 @@ func init() {
|
|||||||
}},
|
}},
|
||||||
"upgrade": {Help: "升级", Hand: func(m *ice.Message, arg ...string) {
|
"upgrade": {Help: "升级", Hand: func(m *ice.Message, arg ...string) {
|
||||||
if nfs.Exists(m, ice.SRC_MAIN_GO) && nfs.Exists(m, ".git") && SystemFind(m, "go") != "" {
|
if nfs.Exists(m, ice.SRC_MAIN_GO) && nfs.Exists(m, ".git") && SystemFind(m, "go") != "" {
|
||||||
m.Cmdy("web.code.compile")
|
m.Cmdy("web.code.vimer", "compile")
|
||||||
} else if nfs.Exists(m, ice.BIN_ICE_BIN) {
|
} else if nfs.Exists(m, ice.BIN_ICE_BIN) {
|
||||||
m.Cmdy("web.code.upgrade")
|
m.Cmdy("web.code.upgrade")
|
||||||
} else {
|
} else {
|
||||||
|
@ -250,7 +250,7 @@ func init() {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// kit.If(m.Option(mdb.NAME) == "", func() { m.Sleep3s().Cmdy(ROUTE, cli.BUILD).ProcessInner() })
|
kit.If(m.Option(mdb.NAME) == "", func() { m.Sleep3s().Cmdy(ROUTE, cli.BUILD).ProcessInner() })
|
||||||
}},
|
}},
|
||||||
PUBLISH: {Name: "publish name", Help: "发布", Icon: "bi bi-send-check", Hand: func(m *ice.Message, arg ...string) {
|
PUBLISH: {Name: "publish name", Help: "发布", Icon: "bi bi-send-check", Hand: func(m *ice.Message, arg ...string) {
|
||||||
m.Option(ice.MSG_TITLE, kit.Keys(m.CommandKey(), m.ActionKey()))
|
m.Option(ice.MSG_TITLE, kit.Keys(m.CommandKey(), m.ActionKey()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user