Generate handbooks on every launch, fix html docs

This commit is contained in:
AnimeGitB
2022-08-03 17:11:04 +09:30
committed by Luke H-W
parent e963419956
commit c1ff7332fe
5 changed files with 176 additions and 185 deletions

View File

@@ -89,13 +89,13 @@ public final class Grasscutter {
public static void main(String[] args) throws Exception {
Crypto.loadKeys(); // Load keys from buffers.
Tools.createGmHandbooks();
// Parse arguments.
boolean exitEarly = false;
for (String arg : args) {
switch (arg.toLowerCase()) {
case "-handbook", "-handbooks" -> {
Tools.createGmHandbooks();
exitEarly = true;
}
case "-dumppacketids" -> {