public static boolean isMac() {
        return platform == PlatformEnum.MACOSX;
    }
referer https://github.com/alibaba/arthas/blob/master/common/src/main/java/com/taobao/arthas/common/OSUtils.java
cop/src/main/java/code/landgrey/copagent/utils/OSUtils.java