forked from x/icebergs
add some
This commit is contained in:
parent
942606d750
commit
bc94d8e1e4
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 shylinux
|
||||
Copyright (c) 2017-2025 shylinux
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -148,8 +148,10 @@ const (
|
||||
)
|
||||
const (
|
||||
CTX_SHY = "ctx_shy"
|
||||
CTX_DEV = "ctx_dev"
|
||||
CTX_WEB = "ctx_web"
|
||||
CTX_GIT = "ctx_git"
|
||||
CTX_DEV_IP = "ctx_dev_ip"
|
||||
CTX_DEV = "ctx_dev"
|
||||
CTX_OPS = "ctx_ops"
|
||||
CTX_REPOS = "ctx_repos"
|
||||
CTX_NAME = "ctx_name"
|
||||
|
@ -311,6 +311,7 @@ func init() {
|
||||
m.Cmd("", mdb.CREATE, kit.Select(dev, os.Getenv("ctx_dev_ip")), ice.DEV_IP, ice.SRC_MAIN_ICO, "dev_ip")
|
||||
m.Cmd("", mdb.CREATE, kit.Select("http://localhost:9020", conf[cli.CTX_OPS]), ice.OPS, 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://web.shylinux.com", conf[cli.CTX_WEB]), ice.WEB, 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.shylinux.com", "2023-ContextOS", ice.SRC_MAIN_ICO, nfs.REPOS)
|
||||
|
@ -2,7 +2,6 @@ package core
|
||||
|
||||
import (
|
||||
_ "shylinux.com/x/icebergs/core/chat"
|
||||
_ "shylinux.com/x/icebergs/core/chat/location"
|
||||
_ "shylinux.com/x/icebergs/core/chat/macos"
|
||||
_ "shylinux.com/x/icebergs/core/code"
|
||||
_ "shylinux.com/x/icebergs/core/mall"
|
||||
|
@ -52,4 +52,4 @@ func (s server) List(m *ice.Message, arg ...string) {
|
||||
})
|
||||
}
|
||||
}
|
||||
func init() { ice.CodeCtxCmd(server{}) }
|
||||
func init() { ice.Cmd("web.code.coder.server", server{}) }
|
||||
|
@ -1,8 +1,6 @@
|
||||
package misc
|
||||
|
||||
import (
|
||||
// _ "shylinux.com/x/icebergs/misc/bash"
|
||||
_ "shylinux.com/x/icebergs/misc/git"
|
||||
// _ "shylinux.com/x/icebergs/misc/tmux"
|
||||
// _ "shylinux.com/x/icebergs/misc/vim"
|
||||
_ "shylinux.com/x/icebergs/misc/wx"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user