Skip to content

Commit

Permalink
Launcher class update for proper distZip build
Browse files Browse the repository at this point in the history
  • Loading branch information
afsalashyana committed Apr 11, 2020
1 parent 8c6d9bf commit f749742
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 2 deletions.
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 124 additions & 0 deletions .idea/uiDesigner.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ javafx {
modules = [ 'javafx.controls', 'javafx.base', 'javafx.fxml' ]
}

mainClassName = 'com.genuinecoder.Launch'
mainClassName = 'com.genuinecoder.Main'
9 changes: 9 additions & 0 deletions src/main/java/com/genuinecoder/Main.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.genuinecoder;

import com.genuinecoder.gui.Launch;

public class Main {
public static void main(String[] args) {
Launch.main(args);
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.genuinecoder;
package com.genuinecoder.gui;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
Expand Down Expand Up @@ -45,4 +45,8 @@ public void start(Stage primaryStage) throws Exception {
secondaryStage.setY(event.getScreenY() + yOffset);
});
}

public static void main(String[] args) {
launch(args);
}
}

0 comments on commit f749742

Please sign in to comment.