forked from x/icebergs
add some
This commit is contained in:
parent
b1d5d09a80
commit
53c5a80da6
@ -115,7 +115,7 @@ func _hash_export(m *ice.Message, prefix, chain, file string) {
|
|||||||
m.Logs(EXPORT, KEY, path.Join(prefix, chain), FILE, p)
|
m.Logs(EXPORT, KEY, path.Join(prefix, chain), FILE, p)
|
||||||
en := json.NewEncoder(f)
|
en := json.NewEncoder(f)
|
||||||
if en.SetIndent("", " "); !m.WarnNotValid(en.Encode(m.Confv(prefix, kit.Keys(chain, HASH))), EXPORT, prefix) {
|
if en.SetIndent("", " "); !m.WarnNotValid(en.Encode(m.Confv(prefix, kit.Keys(chain, HASH))), EXPORT, prefix) {
|
||||||
m.Conf(prefix, kit.Keys(chain, HASH), "")
|
// m.Conf(prefix, kit.Keys(chain, HASH), "")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func _hash_import(m *ice.Message, prefix, chain, file string) {
|
func _hash_import(m *ice.Message, prefix, chain, file string) {
|
||||||
|
2
init.go
2
init.go
@ -73,10 +73,10 @@ var Index = &Context{Name: ICE, Help: "冰山模块", Commands: Commands{
|
|||||||
m.GoSleep300ms(func() {
|
m.GoSleep300ms(func() {
|
||||||
m.root.Option(EXIT, kit.Select("0", arg, 0))
|
m.root.Option(EXIT, kit.Select("0", arg, 0))
|
||||||
m.Cmd(SOURCE, ETC_EXIT_SHY)
|
m.Cmd(SOURCE, ETC_EXIT_SHY)
|
||||||
|
m.Cmd(CTX_EXIT)
|
||||||
if HasUsr() {
|
if HasUsr() {
|
||||||
m.Cmd(EXPORT, EXPORT)
|
m.Cmd(EXPORT, EXPORT)
|
||||||
}
|
}
|
||||||
m.Cmd(CTX_EXIT)
|
|
||||||
removeImportant(m)
|
removeImportant(m)
|
||||||
})
|
})
|
||||||
}},
|
}},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user