mirror of
https://shylinux.com/x/icebergs
synced 2025-07-01 12:14:43 +08:00
20 lines
453 B
Go
20 lines
453 B
Go
package macos
|
|
|
|
import (
|
|
ice "shylinux.com/x/icebergs"
|
|
"shylinux.com/x/icebergs/base/aaa"
|
|
"shylinux.com/x/icebergs/base/mdb"
|
|
)
|
|
|
|
const DOCK = "dock"
|
|
|
|
func init() {
|
|
Index.MergeCommands(ice.Commands{
|
|
DOCK: {Help: "工具栏", Role: aaa.VOID, Actions: ice.MergeActions(ice.Actions{}, CmdHashAction(mdb.NAME), mdb.ExportHashAction())},
|
|
})
|
|
}
|
|
|
|
func DockAppend(m *ice.Message, icon, index string, arg ...string) {
|
|
install(m, DOCK, icon, index, arg...)
|
|
}
|