[fix] fix

This commit is contained in:
wujiawei
2025-11-08 21:19:28 +08:00
parent eee7b9e511
commit a42694af58
4 changed files with 38 additions and 16 deletions

27
pom.xml
View File

@@ -102,5 +102,32 @@
<profiles>
<profile>
<id>windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<packaging.type>msi</packaging.type>
</properties>
</profile>
<profile>
<id>mac</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<packaging.type>dmg</packaging.type>
</properties>
</profile>
<!-- 可以添加更多针对不同操作系统的 profile -->
</profiles>
</project>

View File

@@ -59,11 +59,11 @@
<version>1.3.6-JDK24</version>
</dependency>
<!-- log -->
<dependency>
<groupId>top.wu2020</groupId>
<artifactId>wu-framework-log-spring-starter</artifactId>
<version>1.3.6-JDK24</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>top.wu2020</groupId>-->
<!-- <artifactId>wu-framework-log-spring-starter</artifactId>-->
<!-- <version>1.3.6-JDK24</version>-->
<!-- </dependency>-->
</dependencies>

View File

@@ -99,10 +99,8 @@
<argument>--verbose</argument>
<argument>--type</argument>
<argument>dmg</argument>
<argument>${packaging.type}</argument>
<!-- 根据操作系统动态设置打包类型 -->
<!-- <argument>${os.name.contains("Windows") ? "msi" : (os.name.contains("Mac") ? "dmg" : "deb")}</argument>-->
<argument>--input</argument>
<argument>target</argument>
@@ -110,7 +108,7 @@
<argument>target/installer</argument>
<argument>--name</argument>
<argument>wlcn-client</argument>
<argument>wlcn-client-${os.name}-${project.version}</argument>
<argument>--main-jar</argument>
<argument>${project.build.finalName}.jar</argument>
@@ -122,7 +120,7 @@
<!-- <argument>src/main/resources/app${os.name.contains("Windows") ? ".ico" : (os.name.contains("Mac") ? ".icns" : ".png")}</argument>-->
<argument>--app-version</argument>
<argument>1.3.4</argument>
<argument>1.3.6</argument>
<argument>--vendor</argument>
<argument>小吴小吴bug全无${os.name}</argument>

View File

@@ -86,10 +86,7 @@
<argument>--verbose</argument>
<argument>--type</argument>
<argument>dmg</argument>
<!-- 根据操作系统动态设置打包类型 -->
<!-- <argument>${os.name.contains("Windows") ? "msi" : (os.name.contains("Mac") ? "dmg" : "deb")}</argument>-->
<argument>${packaging.type}</argument>
<argument>--input</argument>
<argument>target</argument>
@@ -97,7 +94,7 @@
<argument>target/installer</argument>
<argument>--name</argument>
<argument>wlcn-server</argument>
<argument>wlcn-server-${os.name}-${project.version}</argument>
<argument>--main-jar</argument>
<argument>${project.build.finalName}.jar</argument>
@@ -105,7 +102,7 @@
<argument>--main-class</argument>
<argument>org.springframework.boot.loader.launch.JarLauncher</argument>
<argument>--app-version</argument>
<argument>1.3.4</argument>
<argument>1.3.6</argument>
<argument>--vendor</argument>
<argument>小吴小吴bug全无${os.name}</argument>