fix: only use Windows-style ndkRoot when building on Windows

This commit is contained in:
Nick Fisher
2025-01-08 09:43:20 +08:00
parent dcc523edff
commit 8e41c32bd2

View File

@@ -213,7 +213,7 @@ void main(List<String> 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,