From ad70ef1461a006463fc2b6142a2f405eca9a77f2 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Wed, 8 Jan 2025 09:43:20 +0800 Subject: [PATCH] fix: only use Windows-style ndkRoot when building on Windows --- thermion_dart/hook/build.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermion_dart/hook/build.dart b/thermion_dart/hook/build.dart index b39046aa..b6a93d78 100644 --- a/thermion_dart/hook/build.dart +++ b/thermion_dart/hook/build.dart @@ -232,7 +232,7 @@ void main(List args) async { } var ndkRoot = - File(compilerPath).parent.parent.uri.toFilePath(windows: true); + File(compilerPath).parent.parent.uri.toFilePath(windows: Platform.isWindows); var stlPath = File([ ndkRoot,