diff --git a/src/main/resources/banner.txt b/src/main/resources/banner.txt index 0c73094..030e5c7 100644 --- a/src/main/resources/banner.txt +++ b/src/main/resources/banner.txt @@ -2,4 +2,4 @@ ( (` / /\ | |_) | |_ | |_) _)_) /_/--\ |_|_) |_|__ |_| \ - :: ${application.title} ::${application.formatted-version} + :: ${info.app.name} ::${info.app.version} diff --git a/src/main/resources/config/application.yml b/src/main/resources/config/application.yml index edb5b2f..6d710bb 100644 --- a/src/main/resources/config/application.yml +++ b/src/main/resources/config/application.yml @@ -59,3 +59,8 @@ storage: imgFolder: ${user.home}/saber/images/ # 图片缓存时间控制,可以带单位 cacheTime: 7d + +info: + app: + name: @project.artifactId@ + version: @project.version@ \ No newline at end of file