1
0
forked from x/icebergs
icebergs/misc/chrome/chrome.go
2022-01-02 22:02:27 +08:00

20 lines
469 B
Go

package chrome
import (
"shylinux.com/x/ice"
"shylinux.com/x/icebergs/base/nfs"
)
type chrome struct {
ice.Code
source string `data:"https://mirrors.tencent.com/tinycorelinux/4.x/x86/tcz/src/chromium-browser/chromium-22.0.1229.79.tar.xz"`
list string `name:"list path auto order build download" help:"源码"`
}
func (c chrome) List(m *ice.Message, arg ...string) {
c.Code.Source(m, m.Config(nfs.SOURCE), arg...)
}
func init() { ice.CodeCtxCmd(chrome{}) }