From 37b02603e9b2c1a616ac49e021503c095daadb6b Mon Sep 17 00:00:00 2001 From: "Julan Zander (ZanderCodes)" Date: Mon, 19 Aug 2024 14:35:02 +0200 Subject: [PATCH 1/2] Add XPipe Beta Add XPipe.io Public Test Beta --- bucket/xpipe-ptb.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 bucket/xpipe-ptb.json diff --git a/bucket/xpipe-ptb.json b/bucket/xpipe-ptb.json new file mode 100644 index 00000000000..ad06852abd5 --- /dev/null +++ b/bucket/xpipe-ptb.json @@ -0,0 +1,34 @@ +{ + "version": "11.0-12", + "description": "A brand-new shell connection hub and remote file manager", + "homepage": "https://xpipe.io/", + "license": "Apache-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/xpipe-io/xpipe-ptb/releases/download/11.0-12/xpipe-portable-windows-x86_64.zip", + "hash": "d8ffd4b85959ff5b1841936589f71fcffd953903324f77a5bcd74c264f200496", + "extract_dir": "xpipe-ptb-11.0-12" + } + }, + "bin": "cli\\bin\\xpipe.exe", + "shortcuts": [ + [ + "app\\xpiped.exe", + "XPipe" + ] + ], + "checkver": { + "github": "https://github.com/xpipe-io/xpipe-ptb" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/xpipe-io/xpipe-ptb/releases/download/$version/xpipe-portable-windows-x86_64.zip", + "extract_dir": "xpipe-ptb-$version" + } + }, + "hash": { + "url": "$baseurl/sha256sums.txt" + } + } +} From 78915f4e6ae9279e5ea2d3a87106d91852cb5945 Mon Sep 17 00:00:00 2001 From: "Julan Zander (ZanderCodes)" Date: Mon, 19 Aug 2024 16:54:17 +0200 Subject: [PATCH 2/2] Update xpipe-ptb.json Updated for the requirements --- bucket/xpipe-ptb.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/bucket/xpipe-ptb.json b/bucket/xpipe-ptb.json index ad06852abd5..3e7bfb18feb 100644 --- a/bucket/xpipe-ptb.json +++ b/bucket/xpipe-ptb.json @@ -7,7 +7,7 @@ "64bit": { "url": "https://github.com/xpipe-io/xpipe-ptb/releases/download/11.0-12/xpipe-portable-windows-x86_64.zip", "hash": "d8ffd4b85959ff5b1841936589f71fcffd953903324f77a5bcd74c264f200496", - "extract_dir": "xpipe-ptb-11.0-12" + "extract_dir": "xpipe-11.0-12" } }, "bin": "cli\\bin\\xpipe.exe", @@ -18,13 +18,18 @@ ] ], "checkver": { - "github": "https://github.com/xpipe-io/xpipe-ptb" + "script": [ + "$Response = [PSCustomObject[]](Invoke-RestMethod -Method 'Get' -Uri 'https://api.github.com/repos/xpipe-io/xpipe-ptb/releases')", + "[string]($Response | Sort-Object -Property published_at -Descending)[0].tag_name" + ], + "regex": "(?.+)", + "replace": "${version}" }, "autoupdate": { "architecture": { "64bit": { "url": "https://github.com/xpipe-io/xpipe-ptb/releases/download/$version/xpipe-portable-windows-x86_64.zip", - "extract_dir": "xpipe-ptb-$version" + "extract_dir": "xpipe-$version" } }, "hash": {