Skip to content

Commit 70be082

Browse files
committed
fixed icon in macos binary
1 parent 468047f commit 70be082

File tree

5 files changed

+18
-4
lines changed

5 files changed

+18
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Build macOS Binary
2727
run: |
28-
mvn clean package -DskipTests -pl tda,tda-macos-binary -am
28+
mvn clean package -Prelease -DskipTests -pl tda,tda-macos-binary -am
2929
3030
- name: Upload macOS Binary to Release
3131
uses: softprops/action-gh-release@v2
@@ -54,7 +54,7 @@ jobs:
5454
cache: 'maven'
5555

5656
- name: Build with Maven
57-
run: mvn clean package -DskipTests -pl !tda-macos-binary
57+
run: mvn clean package -DskipTests
5858

5959
- name: Create Release
6060
id: create_release

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ This will build all components:
175175
* The standalone TDA JAR (in `tda/target/tda-x.x.jar`).
176176
* The VisualVM plugins as NBM files (in the `target/` directory of each `visualvm-*` module).
177177

178+
To build the macOS DMG package, use the `release` profile (requires macOS and JDK 17+):
179+
180+
```bash
181+
mvn clean package -Prelease
182+
```
183+
178184
The resulting standalone JAR will also be located in the `tda/target/` directory.
179185

180186
---

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,17 @@
1515
<module>visualvm-lib-component</module>
1616
<module>visualvm-logfile-component</module>
1717
<module>visualvm-module</module>
18-
<module>tda-macos-binary</module>
1918
</modules>
2019

20+
<profiles>
21+
<profile>
22+
<id>release</id>
23+
<modules>
24+
<module>tda-macos-binary</module>
25+
</modules>
26+
</profile>
27+
</profiles>
28+
2129
<repositories>
2230
<repository>
2331
<id>netbeans</id>

tda-macos-binary/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
</javaOptions>
7575
<macPackageIdentifier>de.grimmfrost.tda</macPackageIdentifier>
7676
<macPackageName>TDA</macPackageName>
77-
<icon>src/main/resources/TDA.png</icon>
77+
<icon>src/main/resources/TDA.icns</icon>
7878
</configuration>
7979
</execution>
8080
</executions>
1.88 MB
Binary file not shown.

0 commit comments

Comments
 (0)