no message
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
package Common.Utils;
|
||||
import Common.CommonConstants;
|
||||
import Common.Database.Database;
|
||||
import Common.Database.VisualiserDatabase;
|
||||
import Common.Mode;
|
||||
import Common_old.Current;
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
@@ -23,6 +24,11 @@ import java.util.concurrent.Semaphore;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.stream.Collectors;
|
||||
public class CommonUtils {
|
||||
//Режим
|
||||
public static Mode mode= Mode.Undefined;
|
||||
public static boolean hasUI() {
|
||||
return mode.equals(Mode.Normal);
|
||||
}
|
||||
//Текущая оперционная система
|
||||
public static boolean isWindows=true;
|
||||
//Домашняя папка.
|
||||
|
||||
Reference in New Issue
Block a user