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 6f110a56dd
commit ad70ef1461

View File

@@ -232,7 +232,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,