Revise version format

This commit is contained in:
mingjun97 2022-05-10 23:23:58 -07:00 committed by Melledy
parent edc75b2632
commit 6921ea77a9
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;
}
}
}

View File

@ -49,7 +49,7 @@
"run_mode_help": "Server run mode must be 'HYBRID', 'DISPATCH_ONLY', or 'GAME_ONLY'. Unable to start Grasscutter...",
"create_resources": "Creating resources folder...",
"resources_error": "Place a copy of 'BinOutput' and 'ExcelBinOutput' in the resources folder.",
"version": "Grasscutter version: %s, Git Hash: %s"
"version": "Grasscutter version: %s-%s"
}
},
"commands": {

View File

@ -46,7 +46,7 @@
"run_mode_help": "Tryb pracy serwera musi być ustawiony na 'HYBRID', 'DISPATCH_ONLY', lub 'GAME_ONLY'. Nie można wystartować Grasscutter...",
"create_resources": "Tworzenie folderu resources...",
"resources_error": "Umieść kopię 'BinOutput' i 'ExcelBinOutput' w folderze resources.",
"version": "Grasscutter versión: %s, Git Hash: %s"
"version": "Grasscutter versión: %s-%s"
}
},
"commands": {

View File

@ -46,7 +46,7 @@
"run_mode_help": "服务器运行模式必须为 HYBRID、DISPATCH_ONLY 或 GAME_ONLY。Grasscutter 启动失败...",
"create_resources": "正在创建 resources 目录...",
"resources_error": "请将 BinOutput 和 ExcelBinOutput 复制到 resources 目录。",
"version": "Grasscutter版本: %s, Git Hash: %s"
"version": "Grasscutter版本: %s-%s"
}
},
"commands": {

View File

@ -46,7 +46,7 @@
"run_mode_help": "伺服器運行模式必須為 HYBRID 或者 DISPATCH_ONLY 或者 GAME_ONLY。Grasscutter 啟動失敗...",
"create_resources": "正在建立 resources 資料夾...",
"resources_error": "請將 BinOutput 和 ExcelBinOutput 複製到 resources 資料夾。",
"version": "Grasscutter版本: %s, Git Hash: %s"
"version": "Grasscutter版本: %s-%s"
}
},
"commands": {