From 68c0d8ce047aa38b8a8c9956717bbb2f9ced971e Mon Sep 17 00:00:00 2001 From: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> Date: Mon, 21 Jun 2021 12:55:12 +0530 Subject: [PATCH 1/2] Create gdu.json Ref: https://github.com/dodorz/scoop/blob/master/gdu.json --- bucket/gdu.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 bucket/gdu.json diff --git a/bucket/gdu.json b/bucket/gdu.json new file mode 100644 index 0000000000000..49c215b7906e3 --- /dev/null +++ b/bucket/gdu.json @@ -0,0 +1,27 @@ +{ + "homepage": "https://github.com/dundee/gdu", + "description": "A Fast Console Disk Usage Analyzer", + "license": "MIT", + "version": "5.1.0", + "architecture": { + "64bit": { + "url": "https://github.com/dundee/gdu/releases/download/v5.1.0/gdu_windows_amd64.exe.zip", + "hash": "6b3bb98fce576b364de177aa63a33dbab7d911f4e7f7aa0b964574b62df5ecef" + } + }, + "installer": { + "script": [ + "$exe = (Get-ChildItem \"$dir\" 'gdu_*.exe' | Select-Object -First 1).FullName", + "Move-Item \"$exe\" \"$dir\\gdu.exe\"" + ] + }, + "bin": "gdu.exe", + "checkver": "github", + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/dundee/gdu/releases/download/v$version/gdu_windows_amd64.exe.zip" + } + } + } +} From 45640c6b31ce6fefb56117d4740c31469cc4a9e4 Mon Sep 17 00:00:00 2001 From: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> Date: Fri, 10 Sep 2021 16:23:02 +0530 Subject: [PATCH 2/2] Update to latest version --- bucket/gdu.json | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/bucket/gdu.json b/bucket/gdu.json index 49c215b7906e3..8637ef366399f 100644 --- a/bucket/gdu.json +++ b/bucket/gdu.json @@ -2,26 +2,28 @@ "homepage": "https://github.com/dundee/gdu", "description": "A Fast Console Disk Usage Analyzer", "license": "MIT", - "version": "5.1.0", + "version": "5.7.0", "architecture": { "64bit": { - "url": "https://github.com/dundee/gdu/releases/download/v5.1.0/gdu_windows_amd64.exe.zip", - "hash": "6b3bb98fce576b364de177aa63a33dbab7d911f4e7f7aa0b964574b62df5ecef" + "url": "https://github.com/dundee/gdu/releases/download/v5.7.0/gdu_windows_amd64.exe.zip", + "hash": "e21f1798bc44c6d2e65fc3b9c7d43c46ebb66e7eeac97d113327acaf8893d973" } }, - "installer": { - "script": [ - "$exe = (Get-ChildItem \"$dir\" 'gdu_*.exe' | Select-Object -First 1).FullName", - "Move-Item \"$exe\" \"$dir\\gdu.exe\"" + "bin": [ + [ + "gdu_windows_amd64.exe", + "gdu" ] - }, - "bin": "gdu.exe", + ], "checkver": "github", "autoupdate": { "architecture": { "64bit": { "url": "https://github.com/dundee/gdu/releases/download/v$version/gdu_windows_amd64.exe.zip" } + }, + "hash": { + "url": "$baseurl/sha256sums.txt" } } }