meta: add shell script to generate while on linux

This commit is contained in:
2026-01-24 09:37:41 -05:00
parent 5bf2588d41
commit 0126101b1b
3 changed files with 13 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ func main() {
region string
)
flag.StringVar(&mdb, "mdb", os.ExpandEnv(`$USERPROFILE\AppData\LocalLow\Cygames\Umamusume\master\master.mdb`), "`path` to Umamusume master.mdb")
flag.StringVar(&out, "o", `.\horse`, "`dir`ectory for output files")
flag.StringVar(&out, "o", `horse`, "`dir`ectory for output files")
flag.StringVar(&region, "region", "global", "region the database is for (global, jp)")
flag.Parse()
@@ -110,6 +110,9 @@ func main() {
return err
}
gf, err := os.Create(filepath.Join(out, region, "skill.go"))
if err != nil {
return err
}
slog.Info("write skills")
return ExecSkill(t, region, sf, gf, sg, skills)
})