mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
add returnOS() to OS, to help identify unknown aapt OS's
This commit is contained in:
parent
02ac674551
commit
5fa3c2d297
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user