diff --git a/thermion_dart/hook/build.dart b/thermion_dart/hook/build.dart index b39046aa..b6a93d78 100644 --- a/thermion_dart/hook/build.dart +++ b/thermion_dart/hook/build.dart @@ -232,7 +232,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,