From 991e1777f2c60d95f8e25e6aed4b07724dbb674e Mon Sep 17 00:00:00 2001 From: yang <1633346816@qq.com> Date: Mon, 17 Oct 2022 15:57:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=95=9C=E5=83=8F=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index bf374c3..884fb2c 100644 --- a/build.gradle +++ b/build.gradle @@ -48,7 +48,7 @@ test { jar { manifest { attributes "Implementation-Title": project.name - attributes "Implementation-Version": '1.0' + attributes "Implementation-Version": project.version attributes 'Main-Class': 'org.rococy.roomit.Launcher' } } @@ -59,10 +59,12 @@ jlink { launcher { name = 'RoomIt' } + jpackage { appVersion = project.version icon = "icon/logo16x16.ico" imageName = "RoomIt" + imageOptions = ["--vendor", "Rococy", "--description", "基于JavaFx开源的屏幕画笔工具"] } }