Fix path to flutter_tester when using local enginde on Mac OS (#11134)

This commit is contained in:
Michael Goderbauer 2017-07-10 12:34:04 -07:00 committed by GitHub
parent 926a096efd
commit 561e7773c2

View file

@ -224,7 +224,7 @@ class LocalEngineArtifacts extends Artifacts {
if (getCurrentHostPlatform() == HostPlatform.linux_x64) {
return fs.path.join(engineOutPath, _artifactToFileName(Artifact.flutterTester));
} else if (getCurrentHostPlatform() == HostPlatform.darwin_x64) {
return fs.path.join(engineOutPath, 'FlutterTester.app', 'Contents', 'MacOS', 'FlutterTester');
return fs.path.join(engineOutPath, 'flutter_tester');
}
throw new Exception('Unsupported platform $platform.');
}