Commit 75d9d221 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#784 Build type dependent launcher icon

parent 1a6aa043
......@@ -148,7 +148,10 @@ public class DesktopLauncher extends Application {
primaryStage.setTitle("Tablexia");
primaryStage.setScene(scene);
primaryStage.setResizable(false);
primaryStage.getIcons().add(new Image("file:icon" + File.separator + "desktop_icon_32.png"));
String buildType = loadAttributeFromManifest(BUILD_VARIANT_MANIFEST_ATTRIBUTE, TablexiaSettings.BuildType.DEVEL.getKey());
primaryStage.getIcons().add(new Image("file:icon" + File.separator + "desktop_icon_" + buildType + "_32.png"));
primaryStage.show();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment