mirror of
https://shylinux.com/x/icebergs
synced 2025-05-04 04:17:01 +08:00
opt chrome
This commit is contained in:
parent
76fca9c644
commit
7f35725dd2
@ -18,7 +18,7 @@ var Index = &ice.Context{Name: CHROME, Help: "浏览器",
|
|||||||
ice.CTX_INIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { m.Load() }},
|
ice.CTX_INIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { m.Load() }},
|
||||||
ice.CTX_EXIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { m.Save() }},
|
ice.CTX_EXIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { m.Save() }},
|
||||||
|
|
||||||
CHROME: {Name: "chrome wid tid url auto 启动 构建 下载", Help: "浏览器", Action: map[string]*ice.Action{
|
CHROME: {Name: "chrome wid tid url auto start build download", Help: "浏览器", Action: map[string]*ice.Action{
|
||||||
web.DOWNLOAD: {Name: "download", Help: "下载", Hand: func(m *ice.Message, arg ...string) {
|
web.DOWNLOAD: {Name: "download", Help: "下载", Hand: func(m *ice.Message, arg ...string) {
|
||||||
}},
|
}},
|
||||||
cli.BUILD: {Name: "build", Help: "构建", Hand: func(m *ice.Message, arg ...string) {
|
cli.BUILD: {Name: "build", Help: "构建", Hand: func(m *ice.Message, arg ...string) {
|
||||||
|
@ -18,9 +18,4 @@ section "命令行"
|
|||||||
refer `
|
refer `
|
||||||
终端 terminal://
|
终端 terminal://
|
||||||
博客 https://www.cnblogs.com/lymvv/p/8431238.html
|
博客 https://www.cnblogs.com/lymvv/p/8431238.html
|
||||||
|
|
||||||
`
|
|
||||||
section "weixin"
|
|
||||||
refer `
|
|
||||||
weixin://dl/moments
|
|
||||||
`
|
`
|
||||||
|
@ -21,7 +21,7 @@ func init() {
|
|||||||
switch m.Option("hostname") {
|
switch m.Option("hostname") {
|
||||||
case "music.163.com":
|
case "music.163.com":
|
||||||
m.Option("top", "200")
|
m.Option("top", "200")
|
||||||
m.Result("web.code.chrome.spide", "", m.Option("tid"))
|
m.Result(SPIDE, "", m.Option("tid"))
|
||||||
return
|
return
|
||||||
case "localhost", "fib.woa.com":
|
case "localhost", "fib.woa.com":
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user