Support local-engine option for flutter_tester on Windows. (#16648)

This commit is contained in:
Alexander Aprelev
2018-04-16 20:40:52 -07:00
committed by GitHub
parent f049f436c8
commit 9e0a6107fa

View File

@@ -307,6 +307,8 @@ class LocalEngineArtifacts extends Artifacts {
return fs.path.join(engineOutPath, _artifactToFileName(Artifact.flutterTester));
} else if (getCurrentHostPlatform() == HostPlatform.darwin_x64) {
return fs.path.join(engineOutPath, 'flutter_tester');
} else if (getCurrentHostPlatform() == HostPlatform.windows_x64) {
return fs.path.join(engineOutPath, 'flutter_tester.exe');
}
throw new Exception('Unsupported platform $platform.');
}