public static int getLocalOS() {
        String osName = System.getProperty("os.name");

        if (osName.startsWith("Windows")) {
            return OS_WIN;
        }
        if (osName.startsWith("Mac")) {
            return OS_MAC;
        }
        return OS_LIN;
    }