Loading files
This 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");
}
}
112549ae4This file is pinned to the selected release. Download the original to open it in your design tool.