1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-02-15 18:35:15 +08:00
parent 942606d750
commit bc94d8e1e4
6 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2020 shylinux Copyright (c) 2017-2025 shylinux
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -148,8 +148,10 @@ const (
) )
const ( const (
CTX_SHY = "ctx_shy" CTX_SHY = "ctx_shy"
CTX_DEV = "ctx_dev" CTX_WEB = "ctx_web"
CTX_GIT = "ctx_git"
CTX_DEV_IP = "ctx_dev_ip" CTX_DEV_IP = "ctx_dev_ip"
CTX_DEV = "ctx_dev"
CTX_OPS = "ctx_ops" CTX_OPS = "ctx_ops"
CTX_REPOS = "ctx_repos" CTX_REPOS = "ctx_repos"
CTX_NAME = "ctx_name" CTX_NAME = "ctx_name"

View File

@ -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(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("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://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://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.shylinux.com", "2023-ContextOS", ice.SRC_MAIN_ICO, nfs.REPOS) m.Cmd("", mdb.CREATE, "https://2023.shylinux.com", "2023-ContextOS", ice.SRC_MAIN_ICO, nfs.REPOS)

View File

@ -2,7 +2,6 @@ package core
import ( import (
_ "shylinux.com/x/icebergs/core/chat" _ "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/chat/macos"
_ "shylinux.com/x/icebergs/core/code" _ "shylinux.com/x/icebergs/core/code"
_ "shylinux.com/x/icebergs/core/mall" _ "shylinux.com/x/icebergs/core/mall"

View File

@ -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{}) }

View File

@ -1,8 +1,6 @@
package misc package misc
import ( import (
// _ "shylinux.com/x/icebergs/misc/bash"
_ "shylinux.com/x/icebergs/misc/git" _ "shylinux.com/x/icebergs/misc/git"
// _ "shylinux.com/x/icebergs/misc/tmux" _ "shylinux.com/x/icebergs/misc/wx"
// _ "shylinux.com/x/icebergs/misc/vim"
) )