mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 01:07:34 +01:00
Merge branch 'master' of github.com:iBotPeaches/Apktool
This commit is contained in:
commit
11ea666c13
@ -33,6 +33,12 @@ public class OSDetection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean is64Bit() {
|
public static boolean is64Bit() {
|
||||||
|
if (isWindows()) {
|
||||||
|
String arch = System.getenv("PROCESSOR_ARCHITECTURE");
|
||||||
|
String wow64Arch = System.getenv("PROCESSOR_ARCHITEW6432");
|
||||||
|
|
||||||
|
return arch != null && arch.endsWith("64") || wow64Arch != null && wow64Arch.endsWith("64");
|
||||||
|
}
|
||||||
return Bit.equalsIgnoreCase("64");
|
return Bit.equalsIgnoreCase("64");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user