add returnOS() to OS, to help identify unknown aapt OS's

This commit is contained in:
Connor Tumbleson 2013-09-17 21:52:35 -05:00
parent 02ac674551
commit 5fa3c2d297

View File

@ -30,4 +30,8 @@ public class OSDetection {
public static boolean isUnix() { public static boolean isUnix() {
return (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") > 0 || (OS.indexOf("sunos") >= 0)); return (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") > 0 || (OS.indexOf("sunos") >= 0));
} }
public static String returnOS() {
return OS;
}
} }