From 35081e3ec4de99ce97e0d191ff03e138edb34341 Mon Sep 17 00:00:00 2001 From: Toki Date: Sun, 22 Dec 2024 11:08:42 +0900 Subject: [PATCH] =?UTF-8?q?executablePath=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/utils/system_util.dart | 2 ++ 1 file changed, 2 insertions(+) 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; }