Removed fx package / RixaFX
This commit is contained in:
parent
835db67880
commit
91a77f0744
2
pom.xml
2
pom.xml
@ -104,7 +104,7 @@
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>io.rixa.bot.Rixa</mainClass>
|
||||
<mainClass>io.rixa.Main</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
|
@ -74,12 +74,12 @@ public class Rixa {
|
||||
private void loadConfiguration() {
|
||||
try {
|
||||
if (FileUtils.saveResource("config.yml", false)) {
|
||||
File file = new File(defaultPath.getPath() + "/config.yml");
|
||||
configuration = objectMapper.readValue(file, Configuration.class);
|
||||
logger.info("Configuration successfully loaded.");
|
||||
logger.info("Shutting down Rixa. Please edit configuration");
|
||||
System.exit(0);
|
||||
}
|
||||
File file = new File(defaultPath.getPath() + "/config.yml");
|
||||
configuration = objectMapper.readValue(file, Configuration.class);
|
||||
logger.info("Configuration successfully loaded.");
|
||||
} catch (IOException e) {
|
||||
logger.severe("Could not properly load configuration file!.");
|
||||
e.printStackTrace();
|
||||
|
@ -1,16 +0,0 @@
|
||||
package io.rixa.fx;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
public class RixaFX extends Application {
|
||||
|
||||
public static void main(String[] args) {
|
||||
launch(args);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void start(Stage primaryStage) {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user