File tree 3 files changed +3
-1
lines changed
3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public static void exit(int exitCode) {
83
83
}
84
84
85
85
private static void initIcon () {
86
- java .awt .Image image = java .awt .Toolkit .getDefaultToolkit ().getImage (Main .class .getResource ("/assets/img/icon@8x .png" ));
86
+ java .awt .Image image = java .awt .Toolkit .getDefaultToolkit ().getImage (Main .class .getResource ("/assets/img/icon-mac .png" ));
87
87
AwtUtils .setAppleIcon (image );
88
88
}
89
89
Original file line number Diff line number Diff line change @@ -776,6 +776,8 @@ public static void setIcon(Stage stage) {
776
776
String icon ;
777
777
if (OperatingSystem .CURRENT_OS == OperatingSystem .WINDOWS ) {
778
778
icon = "/assets/img/icon.png" ;
779
+ } else if (OperatingSystem .CURRENT_OS == OperatingSystem .OSX ) {
780
+ icon = "/assets/img/icon-mac.png" ;
779
781
} else {
780
782
icon = "/assets/img/icon@4x.png" ;
781
783
}
You can’t perform that action at this time.
0 commit comments