Skip to content

Commit

Permalink
fix: icon and macos/windows packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Nov 3, 2020
1 parent 0de89a7 commit c3ae36c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
1 change: 0 additions & 1 deletion breakout-main/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<properties>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm z</maven.build.timestamp.format>
<build.date>${maven.build.timestamp}</build.date>
<breakout.version>0.0.0-development</breakout.version>
</properties>
<build>
<resources>
Expand Down
Binary file added breakout.icns
Binary file not shown.
Binary file added breakout.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

mvn clean install -P osx,windows,windows-i586,windows-amd64,linux,linux-i586,linux-amd64
mvn clean install -Dbreakout.version="${BREAKOUT_VERSION}"
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.sh → package-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
javapackager -deploy -native -outdir packages -outfile Breakout \
-srcdir breakout/target -srcfiles breakout-0.0.0-SNAPSHOT.jar \
-appclass org.breakout.Breakout -name Breakout -title "Breakout Cave Survey" \
-BappVersion=$(./getVersion.sh)
-BappVersion="${BREAKOUT_VERSION}" -Bicon=breakout.icns

7 changes: 7 additions & 0 deletions package-windows.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

javapackager -deploy -native msi -outdir packages -outfile Breakout \
-srcdir breakout/target -srcfiles breakout-0.0.0-SNAPSHOT.jar \
-appclass org.breakout.Breakout -name Breakout -title "Breakout Cave Survey" \
-BappVersion="${BREAKOUT_VERSION}" -Bicon=breakout.ico

0 comments on commit c3ae36c

Please sign in to comment.