ScoopInstaller_Main/mongodb.json
Hsiao-nan Cheung 2ef5b31af4 mongodb: add autoupdate.hash and fix license (#2986)
mongodb: add autoupdate.hash and fix license
2019-01-15 11:00:44 +01:00

53 lines
1.7 KiB
JSON

{
"homepage": "https://www.mongodb.org",
"description": "A document database with the scalability and flexibility.",
"version": "4.0.5",
"license": {
"identifier": "SSPL-1.0",
"url": "https://www.mongodb.com/licensing/server-side-public-license"
},
"architecture": {
"64bit": {
"url": "https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.5-signed.msi",
"hash": "e2ac83cfee3350012a641405ce5ba5c3cffe3f8d1a0cd5e0eb3e332246a9cc20",
"extract_dir": "MongoDB\\Server\\4.0"
}
},
"bin": [
"bin\\bsondump.exe",
"bin\\mongo.exe",
"bin\\mongod.exe",
"bin\\mongodump.exe",
"bin\\mongoexport.exe",
"bin\\mongofiles.exe",
"bin\\mongoimport.exe",
"bin\\mongorestore.exe",
"bin\\mongos.exe",
"bin\\mongostat.exe",
"bin\\mongotop.exe"
],
"post_install": [
"# create initial directories",
"if(!(test-path 'C:\\data')) { mkdir 'C:\\data' > $null }",
"if(!(test-path 'C:\\data\\db')) { mkdir 'C:\\data\\db' > $null }"
],
"checkver": {
"url": "https://www.mongodb.com/download-center/community",
"re": "([\\d.]+) \\(current release\\)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-$version-signed.msi",
"hash": {
"url": "$url.sha256"
},
"extract_dir": "MongoDB\\Server\\$majorVersion.$minorVersion"
}
}
},
"suggest": {
"vcredist": "extras/vcredist2017"
}
}