Commit 4cace66d authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Download prebuilt binaries on Windows (#7760)

parent cfa8e5b0
......@@ -273,6 +273,10 @@ class FlutterEngine {
..addAll(_osxBinaryDirs)
..addAll(_androidBinaryDirs)
..addAll(_iosBinaryDirs);
else if (platform.isWindows)
binaryDirs
..addAll(_windowsBinaryDirs)
..addAll(_androidBinaryDirs);
return binaryDirs;
}
......@@ -289,6 +293,11 @@ class FlutterEngine {
<String>['android-arm-release/linux-x64', 'android-arm-release/linux-x64.zip'],
];
List<List<String>> get _windowsBinaryDirs => <List<String>>[
<String>['android-arm-profile/windows-x64', 'android-arm-profile/windows-x64.zip'],
<String>['android-arm-release/windows-x64', 'android-arm-release/windows-x64.zip'],
];
List<List<String>> get _androidBinaryDirs => <List<String>>[
<String>['android-x86', 'android-x86/artifacts.zip'],
<String>['android-x64', 'android-x64/artifacts.zip'],
......
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