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,