1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-27 01:48:27 +08:00

opt icons

This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-12-13 19:10:28 +08:00
parent 7d28a1b93d
commit c28a382295
2 changed files with 9 additions and 2 deletions

View File

@ -168,6 +168,9 @@ func init() {
case mdb.NAME, nfs.TEMPLATE:
_dream_list(m).Cut("name,status,time")
return
case mdb.ICONS:
mdb.HashInputs(m, arg)
return
}
case "startall":
DreamEach(m, "", cli.STOP, func(name string) { m.Push(arg[0], name) })

View File

@ -199,8 +199,12 @@ func init() {
})
case tcp.WIFI:
m.Cmdy(tcp.WIFI).CutTo(tcp.SSID, arg[0])
case mdb.ICON:
m.Cmdy(nfs.DIR, ice.USR_ICONS, nfs.PATH).CutTo(nfs.PATH, arg[0])
case mdb.ICONS:
m.Options(nfs.DIR_REG, kit.ExtReg(nfs.PNG, nfs.JPG, nfs.JPEG), nfs.DIR_DEEP, ice.TRUE)
m.Cmdy(nfs.DIR, nfs.SRC, nfs.PATH)
m.Cmdy(nfs.DIR, ice.USR_LOCAL_IMAGE, nfs.PATH)
m.Cmdy(nfs.DIR, ice.USR_ICONS, nfs.PATH)
m.CutTo(nfs.PATH, arg[0])
case aaa.PASSWORD:
m.SetAppend()
case ctx.INDEX, ice.CMD: