removed commons-lang

This commit is contained in:
Seil0 2017-03-28 17:36:05 +02:00
parent 0f5d0b859f
commit 4d3c402553
15 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,6 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER"/>
<classpathentry kind="lib" path="src/libraries/minimal-json-0.9.4.jar"/> <classpathentry kind="lib" path="src/libraries/minimal-json-0.9.4.jar"/>
<classpathentry kind="lib" path="src/libraries/commons-lang3-3.5.jar"/>
<classpathentry kind="lib" path="src/libraries/sqlite-jdbc-3.16.1.jar"/> <classpathentry kind="lib" path="src/libraries/sqlite-jdbc-3.16.1.jar"/>
<classpathentry kind="lib" path="src/libraries/jfoenix-1.2.0.jar"/> <classpathentry kind="lib" path="src/libraries/jfoenix-1.2.0.jar"/>
<classpathentry kind="output" path="bin"/> <classpathentry kind="output" path="bin"/>

1
.gitignore vendored
View File

@ -46,4 +46,5 @@ Network Trash Folder
Temporary Items Temporary Items
.apdisk .apdisk
config.xml config.xml
.directory

BIN
DB_PATH

Binary file not shown.

Binary file not shown.

View File

@ -41,8 +41,6 @@ import java.util.ArrayList;
import java.util.Locale; import java.util.Locale;
import java.util.Properties; import java.util.Properties;
import java.util.ResourceBundle; import java.util.ResourceBundle;
import org.apache.commons.lang3.SystemUtils;
import com.jfoenix.controls.JFXButton; import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXColorPicker; import com.jfoenix.controls.JFXColorPicker;
import com.jfoenix.controls.JFXSlider; import com.jfoenix.controls.JFXSlider;
@ -290,8 +288,9 @@ public class MainWindowController {
@FXML @FXML
private void playbtnclicked(){ private void playbtnclicked(){
if(SystemUtils.IS_OS_LINUX){ System.out.println(System.getProperty("os.name"));
System.out.println("This is Linux"); if(System.getProperty("os.name").contains("Linux")){
System.out.println("This is "+System.getProperty("os.name"));
String line; String line;
String output = ""; String output = "";
Process p; Process p;
@ -326,8 +325,8 @@ public class MainWindowController {
showErrorMsg(errorPlay,e); showErrorMsg(errorPlay,e);
} }
} }
}else if(SystemUtils.IS_OS_WINDOWS || SystemUtils.IS_OS_MAC_OSX){ }else if(System.getProperty("os.name").contains("Windows") || System.getProperty("os.name").contains("Mac OS X")){
System.out.println("This is Windows or Mac OSX"); System.out.println("This is "+System.getProperty("os.name"));
if(mode.equals("local")){ if(mode.equals("local")){
try { try {
Desktop.getDesktop().open(new File(getPath()+"\\"+ datPath)); Desktop.getDesktop().open(new File(getPath()+"\\"+ datPath));

View File

@ -14,6 +14,7 @@ import java.nio.channels.ReadableByteChannel;
import javafx.application.Platform; import javafx.application.Platform;
//TODO rework the process after the update is downloaded, need to replace the old config.xml
public class updater extends Thread{ public class updater extends Thread{
private MainWindowController mainWindowController; private MainWindowController mainWindowController;

Binary file not shown.