mirror of
https://github.com/tw93/Mole.git
synced 2026-03-22 20:15:07 +00:00
🐛 update no-cache
This commit is contained in:
2
mole
2
mole
@@ -37,7 +37,7 @@ check_for_updates() {
|
|||||||
|
|
||||||
# Background version check (save to file, don't output)
|
# 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 | \
|
"https://raw.githubusercontent.com/tw93/mole/main/mole" 2>/dev/null | \
|
||||||
grep '^VERSION=' | head -1 | sed 's/VERSION="\(.*\)"/\1/')
|
grep '^VERSION=' | head -1 | sed 's/VERSION="\(.*\)"/\1/')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user