Skip to content

Commit

Permalink
Override mac image and remove console from windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Feb 23, 2024
1 parent 0ed12d2 commit a930167
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -109,6 +109,11 @@ jobs:
with:
java-version: '21'
distribution: 'temurin'
- name: Prepare environment
run: |
mkdir mac-resources
cp src/main/resources/icon.png mac-resources/SoulFire-background.png
cp src/main/resources/icon.png mac-resources/SoulFire-background-darkAqua.png
- name: Package with jpackage
run: |
projectVersion=$(grep '^mavenVersion=' gradle.properties | cut -d'=' -f2)
Expand Down
1 change: 1 addition & 0 deletions jpackage-mac.cfg
@@ -1,3 +1,4 @@
--mac-package-identifier net.pistonmaster.SoulFire
--icon src/main/resources/icons/icon.icns
--resource-dir mac-resources
--type pkg
1 change: 0 additions & 1 deletion jpackage-windows.cfg
@@ -1,6 +1,5 @@
--win-shortcut
--win-shortcut-prompt
--win-console
--win-menu
--win-dir-chooser
--win-per-user-install
Expand Down

0 comments on commit a930167

Please sign in to comment.