removed commons-lang
This commit is contained in:
parent
0f5d0b859f
commit
4d3c402553
|
@ -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.fx.ide.jdt.core.JAVAFX_CONTAINER"/>
|
||||
<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/jfoenix-1.2.0.jar"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
|
|
|
@ -46,4 +46,5 @@ Network Trash Folder
|
|||
Temporary Items
|
||||
.apdisk
|
||||
config.xml
|
||||
.directory
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -41,8 +41,6 @@ import java.util.ArrayList;
|
|||
import java.util.Locale;
|
||||
import java.util.Properties;
|
||||
import java.util.ResourceBundle;
|
||||
import org.apache.commons.lang3.SystemUtils;
|
||||
|
||||
import com.jfoenix.controls.JFXButton;
|
||||
import com.jfoenix.controls.JFXColorPicker;
|
||||
import com.jfoenix.controls.JFXSlider;
|
||||
|
@ -290,8 +288,9 @@ public class MainWindowController {
|
|||
|
||||
@FXML
|
||||
private void playbtnclicked(){
|
||||
if(SystemUtils.IS_OS_LINUX){
|
||||
System.out.println("This is Linux");
|
||||
System.out.println(System.getProperty("os.name"));
|
||||
if(System.getProperty("os.name").contains("Linux")){
|
||||
System.out.println("This is "+System.getProperty("os.name"));
|
||||
String line;
|
||||
String output = "";
|
||||
Process p;
|
||||
|
@ -326,8 +325,8 @@ public class MainWindowController {
|
|||
showErrorMsg(errorPlay,e);
|
||||
}
|
||||
}
|
||||
}else if(SystemUtils.IS_OS_WINDOWS || SystemUtils.IS_OS_MAC_OSX){
|
||||
System.out.println("This is Windows or Mac OSX");
|
||||
}else if(System.getProperty("os.name").contains("Windows") || System.getProperty("os.name").contains("Mac OS X")){
|
||||
System.out.println("This is "+System.getProperty("os.name"));
|
||||
if(mode.equals("local")){
|
||||
try {
|
||||
Desktop.getDesktop().open(new File(getPath()+"\\"+ datPath));
|
||||
|
|
|
@ -14,6 +14,7 @@ import java.nio.channels.ReadableByteChannel;
|
|||
|
||||
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{
|
||||
|
||||
private MainWindowController mainWindowController;
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue