Revise version format

This commit is contained in:
mingjun97
2022-05-10 23:23:58 -07:00
committed by Melledy
parent 895e2bc44a
commit 570635ea02
5 changed files with 5 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ public final class Grasscutter {
Tools.createGachaMapping(DATA("gacha_mappings.js")); exitEarly = true;
}
case "-version" -> {
System.out.println("Grasscutter version: " + BuildConfig.VERSION + "\nGit Hash: " + BuildConfig.GIT_HASH); exitEarly = true;
System.out.println("Grasscutter version: " + BuildConfig.VERSION + "-" + BuildConfig.GIT_HASH); exitEarly = true;
}
}
}