mirror of
https://shylinux.com/x/icebergs
synced 2025-04-25 17:18:05 +08:00
add some
This commit is contained in:
parent
ec961b40fb
commit
f59b7cc461
@ -299,8 +299,8 @@ func init() {
|
|||||||
m.Cmd("", mdb.CREATE, kit.Select("https://shylinux.com", conf[cli.CTX_SHY]), ice.SHY, ice.SRC_MAIN_ICO, nfs.REPOS)
|
m.Cmd("", mdb.CREATE, kit.Select("https://shylinux.com", conf[cli.CTX_SHY]), ice.SHY, ice.SRC_MAIN_ICO, nfs.REPOS)
|
||||||
m.Cmd("", mdb.CREATE, kit.Select("https://mail.shylinux.com", conf[cli.CTX_MAIL]), ice.MAIL, "usr/icons/Mail.png", "mail")
|
m.Cmd("", mdb.CREATE, kit.Select("https://mail.shylinux.com", conf[cli.CTX_MAIL]), ice.MAIL, "usr/icons/Mail.png", "mail")
|
||||||
m.Cmd("", mdb.CREATE, kit.Select("https://demo.shylinux.com", conf[cli.CTX_DEMO]), ice.DEMO, ice.SRC_MAIN_ICO, "demo")
|
m.Cmd("", mdb.CREATE, kit.Select("https://demo.shylinux.com", conf[cli.CTX_DEMO]), ice.DEMO, ice.SRC_MAIN_ICO, "demo")
|
||||||
m.Cmd("", mdb.CREATE, "https://2023-contexts.shylinux.com", "2023-contexts", ice.SRC_MAIN_ICO, nfs.REPOS)
|
m.Cmd("", mdb.CREATE, "https://2023-contextos.shylinux.com", "2023-ContextOS", ice.SRC_MAIN_ICO, nfs.REPOS)
|
||||||
m.Cmd("", mdb.CREATE, "https://2024-contexts.shylinux.com", "2024-contexts", ice.SRC_MAIN_ICO, nfs.REPOS)
|
m.Cmd("", mdb.CREATE, "https://2024-contextos.shylinux.com", "2024-ContextOS", ice.SRC_MAIN_ICO, nfs.REPOS)
|
||||||
}},
|
}},
|
||||||
mdb.SEARCH: {Hand: func(m *ice.Message, arg ...string) {
|
mdb.SEARCH: {Hand: func(m *ice.Message, arg ...string) {
|
||||||
if mdb.IsSearchPreview(m, arg) {
|
if mdb.IsSearchPreview(m, arg) {
|
||||||
|
19
conf.go
19
conf.go
@ -60,15 +60,16 @@ const (
|
|||||||
INT = "int"
|
INT = "int"
|
||||||
)
|
)
|
||||||
const ( // REPOS
|
const ( // REPOS
|
||||||
CONTEXTS = "contexts"
|
CONTEXTOS = "ContextOS"
|
||||||
INTSHELL = "intshell"
|
CONTEXTS = "contexts"
|
||||||
LEARNING = "learning"
|
INTSHELL = "intshell"
|
||||||
VOLCANOS = "volcanos"
|
LEARNING = "learning"
|
||||||
TOOLKITS = "toolkits"
|
VOLCANOS = "volcanos"
|
||||||
ICEBERGS = "icebergs"
|
TOOLKITS = "toolkits"
|
||||||
RELEASE = "release"
|
ICEBERGS = "icebergs"
|
||||||
MATRIX = "matrix"
|
RELEASE = "release"
|
||||||
ICONS = "icons"
|
MATRIX = "matrix"
|
||||||
|
ICONS = "icons"
|
||||||
|
|
||||||
INSTALL = "install"
|
INSTALL = "install"
|
||||||
REQUIRE = "require"
|
REQUIRE = "require"
|
||||||
|
@ -216,7 +216,7 @@ func init() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
func isReleaseContexts(m *ice.Message) bool {
|
func isReleaseContexts(m *ice.Message) bool {
|
||||||
return nfs.Exists(m, ice.USR_RELEASE) && nfs.Exists(m, ice.USR_VOLCANOS) && nfs.Exists(m, ice.USR_INTSHELL) && ice.Info.Make.Module == "shylinux.com/x/contexts"
|
return ice.Info.Make.Module == "shylinux.com/x/ContextOS" && nfs.Exists(m, ice.USR_RELEASE) && nfs.Exists(m, ice.USR_VOLCANOS) && nfs.Exists(m, ice.USR_INTSHELL)
|
||||||
}
|
}
|
||||||
func AutogenMod(m *ice.Message) string {
|
func AutogenMod(m *ice.Message) string {
|
||||||
return _autogen_mod(m, ice.GO_MOD)
|
return _autogen_mod(m, ice.GO_MOD)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user