mac build fixes

move update and variants file to core project and integrate into Jar
This commit is contained in:
bancika
2020-03-21 23:58:43 +01:00
parent 85a37a2fd7
commit 7477c606f4
9 changed files with 7286 additions and 60 deletions
@@ -148,9 +148,9 @@ public class DIYLCStarter {
properties = new Properties();
try {
LOG.info("Injecting default properties.");
File f = new File("config.properties");
if (f.exists()) {
properties.load(new FileInputStream(f));
URL resource = Presenter.class.getClassLoader().getResource("config.properties");
if (resource != null) {
properties.load(resource.openStream());
PropertyInjector.injectProperties(properties);
}
} catch (Exception e) {