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

This commit is contained in:
Nick Fisher committed 2025-01-08 11:39:34 +08:00
1 parent 6f110a56dd
commit ad70ef1461
1 file changed
+1 -1
+1 -1
View File
@@ -232,7 +232,7 @@ void main(List<String> args) async {
} }
var ndkRoot = var ndkRoot =
File(compilerPath).parent.parent.uri.toFilePath(windows: true); File(compilerPath).parent.parent.uri.toFilePath(windows: Platform.isWindows);
var stlPath = File([ var stlPath = File([
ndkRoot, ndkRoot,