windows 10 & sql fixes
* fixed files wit ' in the name causing a crash *fixed windows 10 is not detected
This commit is contained in:
@ -93,7 +93,7 @@ public class Main extends Application {
|
||||
|
||||
|
||||
// get OS and the specific paths
|
||||
if (osName.equals("Windows")) {
|
||||
if (osName.contains("Windows")) {
|
||||
directory = new File(dirWin);
|
||||
configFile = new File(dirWin + "/config.xml");
|
||||
posterCache = new File(dirWin + "/posterCache");
|
||||
|
Reference in New Issue
Block a user