From fb2049a00d1c51b8054d771741ac50485b79f9ee Mon Sep 17 00:00:00 2001 From: ycookiey <70356861+ycookiey@users.noreply.github.com> Date: Sun, 5 Apr 2026 19:18:54 +0900 Subject: [PATCH] wezterm-nightly: Add checkver/autoupdate, bump to 20260405-c53ca64 --- bucket/wezterm-nightly.json | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/bucket/wezterm-nightly.json b/bucket/wezterm-nightly.json index 77f0bfe55bb..f8661c3cb7f 100644 --- a/bucket/wezterm-nightly.json +++ b/bucket/wezterm-nightly.json @@ -1,5 +1,5 @@ { - "version": "nightly", + "version": "20260405-c53ca64", "description": "GPU-accelerated terminal emulator (nightly builds)", "homepage": "https://github.com/wez/wezterm", "license": "Apache-2.0", @@ -9,7 +9,8 @@ ], "architecture": { "64bit": { - "url": "https://github.com/wez/wezterm/releases/download/nightly/WezTerm-windows-nightly.zip" + "url": "https://github.com/wez/wezterm/releases/download/nightly/WezTerm-windows-nightly.zip", + "hash": "d79ff14e89677251b7dee18b9d1cd0c230565bde1c4d589590ad35f3ecda811c" } }, "installer": { @@ -40,6 +41,28 @@ "WezTerm" ] ], + "checkver": { + "url": "https://api.github.com/repositories/120568143/releases/tags/nightly", + "script": [ + "try {", + " $release = $page | ConvertFrom-Json", + " $date = Get-Date $release.updated_at -Format 'yyyyMMdd'", + " $commit = $release.target_commitish", + " return \"$date-$commit\"", + "", + "}catch {", + " return ''", + "}" + ], + "regex": "(?^\\d{8}-[0-9a-f]{7})" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/wez/wezterm/releases/download/nightly/WezTerm-windows-nightly.zip" + } + } + }, "uninstaller": { "script": "if ($cmd -eq 'uninstall') { reg import \"$dir\\uninstall-context.reg\" *> $null }" }