()
| 80 | } |
| 81 | |
| 82 | private static void writeOut() |
| 83 | { |
| 84 | File f = new File("config.txt"); |
| 85 | FileOutputStream out; |
| 86 | try { |
| 87 | out = new FileOutputStream(f); |
| 88 | out.write(("path:"+PATH+System.lineSeparator()).getBytes()); |
| 89 | out.write(("debug:"+DEBUG+System.lineSeparator()).getBytes()); |
| 90 | out.flush(); |
| 91 | out.close(); |
| 92 | } catch (IOException e) { |
| 93 | e.printStackTrace(); |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | public static String getDecksPath(){ |
| 98 | return PATH+"decks"+File.separator; |