Martin Herbers 6 роки тому
батько
коміт
01b50f86ee
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      src/ui/Main.java

+ 3 - 1
src/ui/Main.java

@@ -600,8 +600,10 @@ public class Main extends Application {
 
     	if (System.getProperty("os.name").toLowerCase().contains("windows"))
     		olipPath = System.getenv("AppData") + File.separator + "Olip" + File.separator;
-    	else
+    	else if (System.getProperty("os.name").toLowerCase().contains("mac"))
     		olipPath = System.getProperty("user.home") + "/Library/Application Support/Olip/";
+    	else	//Linux
+    		olipPath = System.getProperty("user.home") + "/.olip/";
 
         //Load the settings.ini
 		File file = new File(olipPath + "settings.ini");