优化编译格式

This commit is contained in:
yml2213
2026-06-26 15:29:26 +08:00
parent e9621df0b9
commit bb24858e2b
4 changed files with 22 additions and 9 deletions
+3
View File
@@ -533,6 +533,9 @@ func (a *App) OrganizeAccounts(commodityID, commodityName string, startTime, end
// GetVersion 返回应用版本号。
func (a *App) GetVersion() string {
if constants.BuildTime != "unknown" {
return constants.Version + " (" + constants.BuildTime + ")"
}
return constants.Version
}