jiazx0107@163.com
2023-12-07 9b5c86d852fd94c0f01497d7571b27419ab17c58
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.fzzy.protocol.sdkhk.common;
 
/**
 * @author
 * @create 2022-01-19-16:40
 */
public class OsSelect {
 
    public static boolean isLinux() {
        return System.getProperty("os.name").toLowerCase().contains("linux");
    }
 
    public static boolean isWindows() {
        return System.getProperty("os.name").toLowerCase().contains("windows");
    }
}