feat: 添加GUI检查更新功能,添加nojre打包方式

This commit is contained in:
2024-09-21 19:32:21 +08:00
parent 828a2fdb62
commit fbdf6b3ba7
9 changed files with 115 additions and 62 deletions

19
pom.xml
View File

@ -258,7 +258,6 @@
<vmArgs>
<arg>--enable-preview</arg>
<arg>-Xmx100m</arg>
<!-- <arg>-Djava.awt.headless=false</arg>-->
</vmArgs>
</configuration>
<executions>
@ -270,6 +269,7 @@
</goals>
<configuration>
<platform>windows</platform>
<zipballName>${project.name}-windows</zipballName>
<createZipball>true</createZipball>
<winConfig>
<headerType>gui</headerType>
@ -277,6 +277,23 @@
</winConfig>
</configuration>
</execution>
<execution>
<id>bundling-for-windows-nojre</id>
<phase>package</phase>
<goals>
<goal>package</goal>
</goals>
<configuration>
<zipballName>${project.name}-windows-nojre</zipballName>
<platform>windows</platform>
<createZipball>true</createZipball>
<bundleJre>false</bundleJre>
<winConfig>
<headerType>gui</headerType>
<generateMsi>false</generateMsi>
</winConfig>
</configuration>
</execution>
</executions>
</plugin>
</plugins>