Ross Smith II 3f22f2548a
gdrive: Fix checkver regex (#138)
* gdrive: Fix checkver regex
Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>
Co-Authored-By: Hsiao-nan Cheung <niheaven@gmail.com>
* Installs fine locally
2019-06-25 19:14:23 -07:00

40 lines
1.5 KiB
JSON

{
"version": "2.1.0",
"description": "Command line utility for interacting with Google Drive.",
"homepage": "https://github.com/prasmussen/gdrive/",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://drive.google.com/uc?id=1zEaLExCMQnwftSYCF7GTONHX-lV7SlTe&export=download#/gdrive.exe",
"hash": "sha1:53780f9a4168c71fd9f3d429932207069d1dcf03"
},
"32bit": {
"url": "https://drive.google.com/uc?id=1nbwcqKI1ohhjbUKLH2NcPSRKvYdBwfEI&export=download#/gdrive.exe",
"hash": "sha1:4974290122f635d9c71875bc2c760e46b943c5ab"
}
},
"bin": "gdrive.exe",
"checkver": {
"url": "https://raw.githubusercontent.com/prasmussen/gdrive/master/README.md",
"regex": "(?sm)windows-386.*?id=(?<id32>[^&]+).*?([\\d.]+).*?id=(?<id64>[^&]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://drive.google.com/uc?id=$matchId64&export=download#/gdrive.exe",
"hash": {
"url": "https://raw.githubusercontent.com/prasmussen/gdrive/master/README.md",
"regex": "windows-x64.*?$sha1"
}
},
"32bit": {
"url": "https://drive.google.com/uc?id=$matchId32&export=download#/gdrive.exe",
"hash": {
"url": "https://raw.githubusercontent.com/prasmussen/gdrive/master/README.md",
"regex": "windows-386.*?$sha1"
}
}
}
}
}