From 10fac902050dc5c78d831a77aa1633d42229edd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8C=C3=A1bera?= Date: Mon, 10 Dec 2018 19:08:16 +0100 Subject: [PATCH] Add gdrive version 2.1.0 (#2873) - Closes lukesampson/scoop-extras#1364 ![terminal](https://i.imgur.com/BZM1IST.png) --- gdrive.json | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 gdrive.json diff --git a/gdrive.json b/gdrive.json new file mode 100644 index 0000000000..d0704bb4ce --- /dev/null +++ b/gdrive.json @@ -0,0 +1,39 @@ +{ + "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=0B3X9GlR6EmbnbnBsTXlfS1J5UjQ&export=download#/gdrive.exe", + "hash": "sha1:17f692a027a049385af2576503cd376593cc87b7" + }, + "32bit": { + "url": "https://drive.google.com/uc?id=0B3X9GlR6EmbnV3RNeFVUQjZvS2c&export=download#/gdrive.exe", + "hash": "sha1:1429200631b598543eddc3df3487117cad95adbb" + } + }, + "bin": "gdrive.exe", + "checkver": { + "url": "https://raw.githubusercontent.com/prasmussen/gdrive/master/README.md", + "regex": "(?sm)gdrive-windows-386.exe\\].+\\?id=(?[A-Za-z\\d]{28}).*gdrive-windows-x64.exe\\].+\\?id=(?[A-Za-z\\d]{28})&export=download\\)\\s+\\|\\s+([\\d\\.]+)\\s+\\|\\s+Windows 64-bit" + }, + "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", + "find": "Windows 64-bit\\s+\\|\\s+([A-Fa-f\\d]{40})" + } + }, + "32bit": { + "url": "https://drive.google.com/uc?id=$matchId32&export=download#/gdrive.exe", + "hash": { + "url": "https://raw.githubusercontent.com/prasmussen/gdrive/master/README.md", + "find": "Window(?:s)? 32-bit\\s+\\|\\s+([A-Fa-f\\d]{40})" + } + } + } + } +}