Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
d74b38c9dThis file is pinned to the selected release. Download the original to open it in your design tool.
package com.marginallyclever.convenience.helpers;
public class OSHelper {
public static boolean isWindows() {
String OS = System.getProperty("os.name").toLowerCase();
return OS.contains("win");
}
public static boolean isOSX() {
String OS = System.getProperty("os.name").toLowerCase();
return OS.contains("mac") || OS.contains("osx");
}
}