script path added
This commit is contained in:
parent
76c378b77a
commit
81d47519c2
1 changed files with 2 additions and 0 deletions
|
|
@ -14,12 +14,14 @@ bool isDebug = true;
|
|||
String userPath = '';
|
||||
String dataPath = '';
|
||||
String projectName = '';
|
||||
String scriptPath = '';
|
||||
|
||||
Future initialize() async {
|
||||
isDebug = path.basename(Platform.resolvedExecutable) == 'dart';
|
||||
userPath = await Path.userPath;
|
||||
dataPath = await Path.dataPath;
|
||||
projectName = await getProjectName();
|
||||
scriptPath = Platform.script.toFilePath(windows: Platform.isWindows);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue