add test mode, update cm_test

This commit is contained in:
csf
2022-10-20 23:05:34 +09:00
parent bd68969dac
commit afa94d5907
3 changed files with 52 additions and 10 deletions

View File

@@ -43,6 +43,9 @@ var version = "";
int androidVersion = 0;
DesktopType? desktopType;
/// * debug or test only, DO NOT enable in release build
bool isTest = false;
typedef F = String Function(String);
typedef FMethod = String Function(String, dynamic);