diff --git a/bucket/gdrive.json b/bucket/gdrive.json index 3180be33fc..4366bcb336 100644 --- a/bucket/gdrive.json +++ b/bucket/gdrive.json @@ -1,39 +1,31 @@ { "version": "2.1.0", "description": "Command line utility for interacting with Google Drive.", - "homepage": "https://github.com/prasmussen/gdrive/", + "homepage": "https://github.com/gdrive-org/gdrive", "license": "MIT", "architecture": { "64bit": { - "url": "https://drive.google.com/uc?id=1zEaLExCMQnwftSYCF7GTONHX-lV7SlTe&export=download#/gdrive.exe", + "url": "https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-windows-x64.exe#/gdrive.exe", "hash": "sha1:53780f9a4168c71fd9f3d429932207069d1dcf03" }, "32bit": { - "url": "https://drive.google.com/uc?id=1nbwcqKI1ohhjbUKLH2NcPSRKvYdBwfEI&export=download#/gdrive.exe", + "url": "https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-windows-386.exe#/gdrive.exe", "hash": "sha1:4974290122f635d9c71875bc2c760e46b943c5ab" } }, "bin": "gdrive.exe", - "checkver": { - "url": "https://raw.githubusercontent.com/prasmussen/gdrive/master/README.md", - "regex": "(?sm)windows-386.*?id=(?[^&]+).*?([\\d.]+).*?id=(?[^&]+)" - }, + "checkver": "github", "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" - } + "url": "https://github.com/gdrive-org/gdrive/releases/download/$version/gdrive-windows-x64.exe#/gdrive.exe" }, "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" - } + "url": "https://github.com/gdrive-org/gdrive/releases/download/$version/gdrive-windows-386.exe#/gdrive.exe" } + }, + "hash": { + "url": "$baseurl/shasums" } } }