Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
gse-demo: add an icon: ico for windows and png for the rest
Browse files Browse the repository at this point in the history
I tested that it works on windows.
On linux, jpackage doesn't do anything with the icon for create-image.
Untested on mac.
  • Loading branch information
Jon Harper committed Feb 6, 2019
1 parent 2a7c4d1 commit 37ebfc5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gse-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<properties>
<jpackage.archive>openjdk-13-jpackage+8_windows-x64_bin.zip</jpackage.archive>
<jpackage.zip>true</jpackage.zip>
<powsybl-logo>logo.ico</powsybl-logo>
</properties>
</profile>
<profile>
Expand All @@ -45,6 +46,7 @@
<properties>
<jpackage.archive>openjdk-13-jpackage+8_osx-x64_bin.tar.gz</jpackage.archive>
<jpackage.tar>true</jpackage.tar>
<powsybl-logo>logo.png</powsybl-logo>
</properties>
</profile>
<profile>
Expand All @@ -57,6 +59,7 @@
<properties>
<jpackage.archive>openjdk-13-jpackage+8_linux-x64_bin.tar.gz</jpackage.archive>
<jpackage.tar>true</jpackage.tar>
<powsybl-logo>logo.png</powsybl-logo>
</properties>
</profile>
<profile>
Expand Down Expand Up @@ -264,6 +267,8 @@
<argument>--strip-native-commands</argument>
<argument>--vendor</argument>
<argument>PowSyBl</argument>
<argument>--icon</argument>
<argument>classes/images/${powsybl-logo}</argument>
</arguments>
</configuration>
</execution>
Expand Down
Binary file added gse-demo/src/main/resources/images/logo.ico
Binary file not shown.
Binary file added gse-demo/src/main/resources/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 37ebfc5

Please sign in to comment.