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