From e98a2fb8bd7cdb9bcf5b1d06a8e3aa6631b230c0 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Fri, 3 Oct 2025 22:26:17 +0800 Subject: [PATCH] :bug: update no-cache --- mole | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mole b/mole index d8c382c..176be1a 100755 --- a/mole +++ b/mole @@ -37,7 +37,7 @@ check_for_updates() { # Background version check (save to file, don't output) ( - local latest=$(curl -fsSL --connect-timeout 2 --max-time 3 \ + local latest=$(curl -fsSL --connect-timeout 2 --max-time 3 -H "Cache-Control: no-cache" \ "https://raw.githubusercontent.com/tw93/mole/main/mole" 2>/dev/null | \ grep '^VERSION=' | head -1 | sed 's/VERSION="\(.*\)"/\1/')