// Path: CrococryptFile/common/org/fhissen/utils/os/OSDetector.java
// public enum OS{
// 	WIN,
// 	LIN,
// 	MAC,
// 		
// 	;
// }


import java.io.File;
import org.fhissen.utils.os.OSDetector.OS;

package org.fhissen.utils.os;



public class OSFolders {
	public static final File getUserChooserstart(){
		String tmp;
		File ftmp;
		
		switch (OSDetector.which()) {
		case WIN:
			tmp = System.getenv("USERPROFILE");
			ftmp = new File(tmp);
			if(ftmp.exists() && ftmp.isDirectory()) return ftmp;

		case LIN:
		case MAC:
			tmp = System.getProperty("user.home");
			ftmp = new File(tmp);
			if(ftmp.exists() && ftmp.isDirectory()) return ftmp;
			

// Path: CrococryptFile/common/org/fhissen/utils/os/OSDetector.java
// public enum OS{
// 	WIN,
// 	LIN,
// 	MAC,
// 		
// 	;
// }


// Path: CrococryptFile/common/org/fhissen/utils/os/OSFolders.java
import java.io.File;
import org.fhissen.utils.os.OSDetector.OS;

package org.fhissen.utils.os;



public class OSFolders {
	public static final File getUserChooserstart(){
		String tmp;
		File ftmp;
		
		switch (OSDetector.which()) {
		case WIN:
			tmp = System.getenv("USERPROFILE");
			ftmp = new File(tmp);
			if(ftmp.exists() && ftmp.isDirectory()) return ftmp;

		case LIN:
		case MAC:
			tmp = System.getProperty("user.home");
			ftmp = new File(tmp);
			if(ftmp.exists() && ftmp.isDirectory()) return ftmp;
			

			if(OSDetector.which() == OS.WIN){
