From dd8dacbff772c2e209c6688e2ddcb6fff6340705 Mon Sep 17 00:00:00 2001 From: baiiylu <62942942+zsbai@users.noreply.github.com> Date: Sun, 13 Apr 2025 05:46:13 +0800 Subject: [PATCH] fix: pup not found on apt official repo --- scripts/destVersionForMac.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/destVersionForMac.sh b/scripts/destVersionForMac.sh index 302e2df..ed8b9eb 100644 --- a/scripts/destVersionForMac.sh +++ b/scripts/destVersionForMac.sh @@ -46,7 +46,11 @@ install_depends() { print_separator sudo apt update - sudo apt install -y p7zip-full p7zip-rar libdigest-sha-perl wget curl git gh dmg2img pup + sudo apt install -y p7zip-full p7zip-rar libdigest-sha-perl wget curl git gh dmg2img + + curl -LO https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_linux_amd64.zip + unzip pup_v0.4.0_linux_amd64.zip + sudo mv pup /usr/local/bin/ } # 下载 WeChat DMG