From 53c5a80da6abf4260d1c5f979a3aec5ecea81153 Mon Sep 17 00:00:00 2001 From: shy Date: Mon, 2 Sep 2024 17:34:07 +0800 Subject: [PATCH] add some --- base/mdb/hash.go | 2 +- init.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/mdb/hash.go b/base/mdb/hash.go index f51da10f..55398846 100644 --- a/base/mdb/hash.go +++ b/base/mdb/hash.go @@ -115,7 +115,7 @@ func _hash_export(m *ice.Message, prefix, chain, file string) { m.Logs(EXPORT, KEY, path.Join(prefix, chain), FILE, p) en := json.NewEncoder(f) 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) { diff --git a/init.go b/init.go index 5de4b456..5e5a4b68 100644 --- a/init.go +++ b/init.go @@ -73,10 +73,10 @@ var Index = &Context{Name: ICE, Help: "冰山模块", Commands: Commands{ m.GoSleep300ms(func() { m.root.Option(EXIT, kit.Select("0", arg, 0)) m.Cmd(SOURCE, ETC_EXIT_SHY) + m.Cmd(CTX_EXIT) if HasUsr() { m.Cmd(EXPORT, EXPORT) } - m.Cmd(CTX_EXIT) removeImportant(m) }) }},