From 8e41c32bd2214fc93e83f033e3788dbc7914e3a1 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 cf8699c2..056d17f3 100644 --- a/thermion_dart/hook/build.dart +++ b/thermion_dart/hook/build.dart @@ -213,7 +213,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,