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://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, "https://2023-contexts.shylinux.com", "2023-contexts", 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://2023-contextos.shylinux.com", "2023-ContextOS", 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) {
|
||||
if mdb.IsSearchPreview(m, arg) {
|
||||
|
19
conf.go
19
conf.go
@ -60,15 +60,16 @@ const (
|
||||
INT = "int"
|
||||
)
|
||||
const ( // REPOS
|
||||
CONTEXTS = "contexts"
|
||||
INTSHELL = "intshell"
|
||||
LEARNING = "learning"
|
||||
VOLCANOS = "volcanos"
|
||||
TOOLKITS = "toolkits"
|
||||
ICEBERGS = "icebergs"
|
||||
RELEASE = "release"
|
||||
MATRIX = "matrix"
|
||||
ICONS = "icons"
|
||||
CONTEXTOS = "ContextOS"
|
||||
CONTEXTS = "contexts"
|
||||
INTSHELL = "intshell"
|
||||
LEARNING = "learning"
|
||||
VOLCANOS = "volcanos"
|
||||
TOOLKITS = "toolkits"
|
||||
ICEBERGS = "icebergs"
|
||||
RELEASE = "release"
|
||||
MATRIX = "matrix"
|
||||
ICONS = "icons"
|
||||
|
||||
INSTALL = "install"
|
||||
REQUIRE = "require"
|
||||
|
@ -216,7 +216,7 @@ func init() {
|
||||
})
|
||||
}
|
||||
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 {
|
||||
return _autogen_mod(m, ice.GO_MOD)
|
||||
|
Loading…
x
Reference in New Issue
Block a user