From 5163a0d13087b144ffbd4680614de7214b802889 Mon Sep 17 00:00:00 2001 From: qianlifeng Date: Wed, 7 Aug 2024 22:40:48 +0800 Subject: [PATCH] Fix issues when download --- Casks/wox.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Casks/wox.rb b/Casks/wox.rb index 8924bc8..5a32efa 100644 --- a/Casks/wox.rb +++ b/Casks/wox.rb @@ -1,18 +1,17 @@ cask "wox" do arch arm: "arm64", intel: "x86_64" + + version "v2.0.0-nightly" on_arm do - version "v2.0.0-nightly" sha256 "aae104dc1267ad6da27c6deb506c6048b03848a95a7c42ad953297516c8e419d" - filename "wox-mac-arm64-20240807-5c43a4.dmg" + url "https://github.com/Wox-launcher/Wox/releases/download/#{version}/wox-mac-arm64-20240807-5c43a4.dmg" end on_intel do - version "v2.0.0-nightly" sha256 "d57314b3c9243fa9e5df1a6a169e464ec3b4c5bca536a0edcae5d57a3ed53bd1" - filename "wox-mac-amd64-20240807-a78e72.dmg" + url "https://github.com/Wox-launcher/Wox/releases/download/#{version}/wox-mac-amd64-20240807-a78e72.dmg" end - url "https://github.com/Wox-launcher/Wox/releases/download/#{version}/#{filename}" name "Wox" desc "A cross-platform launcher that simply works" homepage "https://github.com/Wox-launcher/Wox"