Skip to content

Commit

Permalink
Fix iOS detection for MOE backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
berstanio authored and PokeMMO committed Mar 22, 2022
1 parent 86c1951 commit 3ae4941
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class SharedLibraryLoader {
static public boolean is64Bit = System.getProperty("os.arch").contains("64") || System.getProperty("os.arch").startsWith("armv8");

static {
boolean isMOEiOS = "iOS".equals(System.getProperty("moe.platform.name"));
boolean isMOEiOS = System.getProperty("moe.platform.name") != null;
String vm = System.getProperty("java.runtime.name");
if (vm != null && vm.contains("Android Runtime")) {
isAndroid = true;
Expand Down

0 comments on commit 3ae4941

Please # to comment.