executablePath 추가
This commit is contained in:
parent
81d47519c2
commit
35081e3ec4
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ String userPath = '';
|
|||
String dataPath = '';
|
||||
String projectName = '';
|
||||
String scriptPath = '';
|
||||
String executablePath = '';
|
||||
|
||||
Future initialize() async {
|
||||
isDebug = path.basename(Platform.resolvedExecutable) == 'dart';
|
||||
|
|
@ -22,6 +23,7 @@ Future initialize() async {
|
|||
dataPath = await Path.dataPath;
|
||||
projectName = await getProjectName();
|
||||
scriptPath = Platform.script.toFilePath(windows: Platform.isWindows);
|
||||
executablePath = Platform.executable;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue