Add autoupdate to dart.json

This commit is contained in:
Richard Kuhnt 2017-02-14 18:20:08 +01:00
parent a04f36e87c
commit 475f6ecd95

View File

@ -1,23 +1,38 @@
{ {
"version": "1.22.0", "version": "1.22.0",
"license": "BSD", "license": "BSD",
"homepage": "https://www.dartlang.org/", "homepage": "https://www.dartlang.org/",
"extract_dir": "dart-sdk", "extract_dir": "dart-sdk",
"env_add_path": [ "env_add_path": [
"bin" "bin"
], ],
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://storage.googleapis.com/dart-archive/channels/stable/release/1.22.0/sdk/dartsdk-windows-x64-release.zip", "url": "https://storage.googleapis.com/dart-archive/channels/stable/release/1.22.0/sdk/dartsdk-windows-x64-release.zip",
"hash": "350c40dc3f6c287328f3c0ee48017cf205cb0259c1d3c890ffe2601ac3e0656b" "hash": "350c40dc3f6c287328f3c0ee48017cf205cb0259c1d3c890ffe2601ac3e0656b"
},
"32bit": {
"url": "https://storage.googleapis.com/dart-archive/channels/stable/release/1.22.0/sdk/dartsdk-windows-ia32-release.zip",
"hash": "0fc39500d6bad33beeb8539f922248d2a62b09ffaae4e146fcca36378557e5bb"
}
}, },
"32bit": { "checkver": {
"url": "https://storage.googleapis.com/dart-archive/channels/stable/release/1.22.0/sdk/dartsdk-windows-ia32-release.zip", "url": "https://storage.googleapis.com/dart-archive/channels/stable/release/latest/VERSION",
"hash": "0fc39500d6bad33beeb8539f922248d2a62b09ffaae4e146fcca36378557e5bb" "re": "\"version\":\\s*\"(.*)\","
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://storage.googleapis.com/dart-archive/channels/stable/release/$version/sdk/dartsdk-windows-x64-release.zip"
},
"32bit": {
"url": "https://storage.googleapis.com/dart-archive/channels/stable/release/$version/sdk/dartsdk-windows-ia32-release.zip"
}
},
"hash": {
"mode": "extract",
"type": "sha256",
"url": "$url.sha256sum"
}
} }
},
"checkver": {
"url": "https://storage.googleapis.com/dart-archive/channels/stable/release/latest/VERSION",
"re": "\"version\":\\s*\"([\\d.]+)\""
}
} }