simplify setup with script

This commit is contained in:
yusing
2025-02-18 05:39:15 +08:00
parent 0c112e1db1
commit 265b52dccb
6 changed files with 241 additions and 156 deletions

View File

@@ -40,9 +40,6 @@ func main() {
args := pkg.GetArgs(common.MainServerCommandValidator{})
switch args.Command {
case common.CommandSetup:
Setup()
return
case common.CommandReload:
if err := query.ReloadServer(); err != nil {
gperr.LogFatal("server reload error", err)