public static String GetLoLFolder() {
		File file = null;
        String path = null;
		try {

            JFileChooser chooser = new JFileChooser();
            chooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
            chooser.setDialogTitle("Please set your Location of \"lol.launcher.exe\"");
            chooser.setBackground(Gui.myColor);
            chooser.setForeground(Color.LIGHT_GRAY);
            chooser.setFileFilter(new FileFilter() {
                public boolean accept(File f) {
                    return f.getName().toLowerCase().endsWith("lol.launcher.exe")
                            || f.isDirectory();
                }

                public String getDescription() {
                    return "lol.launcher.exe(*.exe)";
                }
            });
            int rueckgabeWert = chooser.showOpenDialog(null);
            if (rueckgabeWert == JFileChooser.APPROVE_OPTION) {
               file = chooser.getSelectedFile();
                if (file.getName().contains("lol.launcher.exe")) {
                    System.out.println("- Found League of Legends Installation");
                    path = chooser.getSelectedFile().getParent();
                    File FilePath = new File("Path");
                    FileWriter writer;
                    writer = new FileWriter(FilePath);
                    writer.write(path);
                    writer.flush();
                    writer.close();
                } else {
                    System.out
                            .println("- No League of Legends Installation found :(");
                    path = "No installation found";
                }
            }
        } catch (IOException e)
        {
            logger.error("Write Error");
        }
		return path;
	}