dump memory command

This commit is contained in:
Shen Junzheng
2025-04-09 21:12:10 +08:00
parent b4378a63a3
commit 67eff715f6
4 changed files with 163 additions and 6 deletions

View File

@@ -74,6 +74,16 @@ func (c *Context) SwitchHistory(account string) {
c.WorkDir = history.WorkDir
c.HTTPEnabled = history.HTTPEnabled
c.HTTPAddr = history.HTTPAddr
} else {
c.Account = ""
c.Platform = ""
c.Version = 0
c.FullVersion = ""
c.DataKey = ""
c.DataDir = ""
c.WorkDir = ""
c.HTTPEnabled = false
c.HTTPAddr = ""
}
}