Commit 561e7773 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

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

parent 926a096e
...@@ -224,7 +224,7 @@ class LocalEngineArtifacts extends Artifacts { ...@@ -224,7 +224,7 @@ class LocalEngineArtifacts extends Artifacts {
if (getCurrentHostPlatform() == HostPlatform.linux_x64) { if (getCurrentHostPlatform() == HostPlatform.linux_x64) {
return fs.path.join(engineOutPath, _artifactToFileName(Artifact.flutterTester)); return fs.path.join(engineOutPath, _artifactToFileName(Artifact.flutterTester));
} else if (getCurrentHostPlatform() == HostPlatform.darwin_x64) { } 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.'); throw new Exception('Unsupported platform $platform.');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment