diff --git a/lib/utils/system_util.dart b/lib/utils/system_util.dart index b33a189..890d110 100644 --- a/lib/utils/system_util.dart +++ b/lib/utils/system_util.dart @@ -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; }