update code
This commit is contained in:
parent
7574a09c9a
commit
76c378b77a
1 changed files with 3 additions and 0 deletions
|
|
@ -10,16 +10,19 @@ import 'package:path/path.dart' as path;
|
|||
const int intMax = 0x7FFFFFFFFFFFFFFF;
|
||||
const int intMin = -0x8000000000000000;
|
||||
|
||||
bool isDebug = true;
|
||||
String userPath = '';
|
||||
String dataPath = '';
|
||||
String projectName = '';
|
||||
|
||||
Future initialize() async {
|
||||
isDebug = path.basename(Platform.resolvedExecutable) == 'dart';
|
||||
userPath = await Path.userPath;
|
||||
dataPath = await Path.dataPath;
|
||||
projectName = await getProjectName();
|
||||
}
|
||||
|
||||
|
||||
Map<String, List<String>?> envArguments(List<String> arguments) {
|
||||
var dic = <String, List<String>?>{};
|
||||
var list = <String>[];
|
||||
|
|
|
|||
Loading…
Reference in a new issue