|
1 | 1 | {
|
2 |
| - "homepage": "https://flutter.dev/", |
3 |
| - "version": "1.5.4-hotfix.2", |
| 2 | + "version": "1.12.13-hotfix.7", |
| 3 | + "description": "Google’s mobile app SDK for crafting high-quality native interfaces on iOS and Android", |
| 4 | + "homepage": "https://flutter.dev", |
4 | 5 | "license": "BSD-3-Clause",
|
| 6 | + "depends": [ |
| 7 | + "android-sdk", |
| 8 | + "java/adopt8-hotspot" |
| 9 | + ], |
| 10 | + "suggest": { |
| 11 | + "Visual Studio Code with Flutter Extension": [ |
| 12 | + "vscode", |
| 13 | + "vscode-portable" |
| 14 | + ] |
| 15 | + }, |
5 | 16 | "url": [
|
6 |
| - "https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_v1.5.4-hotfix.2-stable.zip", |
| 17 | + "https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_v1.12.13+hotfix.7-stable.zip", |
7 | 18 | "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/flutter-dev-setup.ps1"
|
8 | 19 | ],
|
9 |
| - "extract_dir": "flutter", |
10 | 20 | "hash": [
|
11 |
| - "1d5e1779430be6bbb4fa49f4bccc7c5d24a76f3d2a100129e09b4b8eef33b1b4", |
| 21 | + "7b71b23af9149eb29e300c0e4ceed3e3de20d0104f48c9386a03f454e4d944a2", |
12 | 22 | "bbd8dd269dd70d97e0224025281e55b7e2e32364d5c47e082ca7f45e33d1a613"
|
13 | 23 | ],
|
14 |
| - "depends": [ |
15 |
| - "android-sdk", |
16 |
| - "java/adopt8-hotspot" |
| 24 | + "extract_dir": "flutter", |
| 25 | + "post_install": [ |
| 26 | + "flutter-dev-setup.ps1", |
| 27 | + "Write-Host 'Some licenses need to be accepted before developing. It is recommended to do by running ''flutter doctor --android-licenses''.' -ForegroundColor Yellow", |
| 28 | + "flutter doctor" |
17 | 29 | ],
|
18 |
| - "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.", |
19 |
| - "env_add_path": "bin\\cache\\dart-sdk", |
20 | 30 | "bin": [
|
21 | 31 | "bin\\flutter.bat",
|
22 | 32 | "flutter-dev-setup.ps1"
|
23 | 33 | ],
|
24 |
| - "post_install": [ |
25 |
| - "flutter-dev-setup.ps1", |
26 |
| - "Write-Host Some licenses need to be accepted before developing. We recommend you do so by running 'flutter doctor --android-licenses'. -ForegroundColor Yellow", |
27 |
| - "flutter doctor" |
28 |
| - ], |
| 34 | + "env_add_path": "bin\\cache\\dart-sdk", |
29 | 35 | "checkver": {
|
30 | 36 | "url": "https://storage.googleapis.com/flutter_infra/releases/releases_windows.json",
|
31 |
| - "regex": "windows_v([\\w-.]+)-stable" |
| 37 | + "regex": "windows_v([\\d.]+)(?<delim>[-+])(?<build>[\\w.]+)-stable", |
| 38 | + "replace": "$1-${build}" |
32 | 39 | },
|
33 | 40 | "autoupdate": {
|
34 |
| - "url": "https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_v$version-stable.zip", |
| 41 | + "url": "https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_v$matchHead$matchDelim$matchBuild-stable.zip", |
35 | 42 | "hash": {
|
36 | 43 | "url": "https://storage.googleapis.com/flutter_infra/releases/releases_windows.json",
|
37 |
| - "jsonpath": "$.releases[?(@.archive =~ /.*$basename/)].sha256" |
| 44 | + "jsonpath": "$.releases[?(@.archive =~ /.*flutter_windows_v$matchHead$matchDelim$matchBuild-stable.zip/)].sha256" |
38 | 45 | }
|
39 |
| - }, |
40 |
| - "suggest": { |
41 |
| - "Visual Studio Code with Flutter Extension": [ |
42 |
| - "vscode", |
43 |
| - "vscode-portable" |
44 |
| - ] |
45 |
| - }, |
46 |
| - "notes": [ |
47 |
| - "Flutter has been successfully installed and put in your PATH.", |
48 |
| - "If using Visual Studio Code, don't forget to install the Flutter Extension!", |
49 |
| - "Then connect an Android Phone and start coding :-)" |
50 |
| - ] |
| 46 | + } |
51 | 47 | }
|
0 commit comments