whyclxw
2024-03-11 70189eed5b6e57530e17dc74288a52c1af6f18cf
1
2
3
4
5
6
7
8
9
10
11
12
package com.whyc.carCamera.Commom;
 
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");
    }
}