From 82a8a2e77060d11e3032b574fa0695e1cb7380a4 Mon Sep 17 00:00:00 2001 From: lxy <391861737@qq.com> Date: Fri, 31 Jan 2020 02:31:35 +0800 Subject: [PATCH] flutter: Update to version 1.12.13-hotfix.7 (#3489) - Closes #2439 - Closes #2526 - Closes #2770 - Closes #2924 - Closes #3113 - Closes #3360 - Closes #3446 - Closes #3490 --- bucket/flutter.json | 56 +++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 30 deletions(-) diff --git a/bucket/flutter.json b/bucket/flutter.json index 9ea882ab4f66ca..9cb1fce8ddebff 100644 --- a/bucket/flutter.json +++ b/bucket/flutter.json @@ -1,51 +1,47 @@ { - "homepage": "https://flutter.dev/", - "version": "1.5.4-hotfix.2", + "version": "1.12.13-hotfix.7", + "description": "Google’s mobile app SDK for crafting high-quality native interfaces on iOS and Android", + "homepage": "https://flutter.dev", "license": "BSD-3-Clause", + "depends": [ + "android-sdk", + "java/adopt8-hotspot" + ], + "suggest": { + "Visual Studio Code with Flutter Extension": [ + "vscode", + "vscode-portable" + ] + }, "url": [ - "https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_v1.5.4-hotfix.2-stable.zip", + "https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_v1.12.13+hotfix.7-stable.zip", "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/flutter-dev-setup.ps1" ], - "extract_dir": "flutter", "hash": [ - "1d5e1779430be6bbb4fa49f4bccc7c5d24a76f3d2a100129e09b4b8eef33b1b4", + "7b71b23af9149eb29e300c0e4ceed3e3de20d0104f48c9386a03f454e4d944a2", "bbd8dd269dd70d97e0224025281e55b7e2e32364d5c47e082ca7f45e33d1a613" ], - "depends": [ - "android-sdk", - "java/adopt8-hotspot" + "extract_dir": "flutter", + "post_install": [ + "flutter-dev-setup.ps1", + "Write-Host 'Some licenses need to be accepted before developing. It is recommended to do by running ''flutter doctor --android-licenses''.' -ForegroundColor Yellow", + "flutter doctor" ], - "description": "Flutter is Google’s mobile app SDK for crafting high-quality native interfaces on iOS and Android in record time. This is the beta version, since Flutter wasn't officially 'released' yet.", - "env_add_path": "bin\\cache\\dart-sdk", "bin": [ "bin\\flutter.bat", "flutter-dev-setup.ps1" ], - "post_install": [ - "flutter-dev-setup.ps1", - "Write-Host Some licenses need to be accepted before developing. We recommend you do so by running 'flutter doctor --android-licenses'. -ForegroundColor Yellow", - "flutter doctor" - ], + "env_add_path": "bin\\cache\\dart-sdk", "checkver": { "url": "https://storage.googleapis.com/flutter_infra/releases/releases_windows.json", - "regex": "windows_v([\\w-.]+)-stable" + "regex": "windows_v([\\d.]+)(?[-+])(?[\\w.]+)-stable", + "replace": "$1-${build}" }, "autoupdate": { - "url": "https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_v$version-stable.zip", + "url": "https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_v$matchHead$matchDelim$matchBuild-stable.zip", "hash": { "url": "https://storage.googleapis.com/flutter_infra/releases/releases_windows.json", - "jsonpath": "$.releases[?(@.archive =~ /.*$basename/)].sha256" + "jsonpath": "$.releases[?(@.archive =~ /.*flutter_windows_v$matchHead$matchDelim$matchBuild-stable.zip/)].sha256" } - }, - "suggest": { - "Visual Studio Code with Flutter Extension": [ - "vscode", - "vscode-portable" - ] - }, - "notes": [ - "Flutter has been successfully installed and put in your PATH.", - "If using Visual Studio Code, don't forget to install the Flutter Extension!", - "Then connect an Android Phone and start coding :-)" - ] + } }