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

@ -18,6 +18,21 @@
},
"checkver": {
"url": "https://storage.googleapis.com/dart-archive/channels/stable/release/latest/VERSION",
"re": "\"version\":\\s*\"([\\d.]+)\""
"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"
}
}
}