tisfeng / Easydict

一个简洁优雅的词典翻译 macOS App。开箱即用,支持离线 OCR 识别,支持有道词典,🍎 苹果系统词典,🍎 苹果系统翻译,OpenAI,Gemini,DeepL,Google,Bing,腾讯,百度,阿里,小牛,彩云和火山翻译。A concise and elegant Dictionary and Translator macOS App for looking up words and translating text.
GNU General Public License v3.0
6.88k stars 348 forks source link

🐞 Bug Report: brew SHA256 mismatch, 2.5.6 #402

Closed ysmintor closed 7 months ago

ysmintor commented 7 months ago

I do the usual upgrade, however got error when the 2.6.0 version. Downloading https://github.com/tisfeng/Easydict/releases/download/2.6.0/Easydict.dmg Already downloaded: /Users/york/Library/Caches/Homebrew/downloads/84fd59d81d654910ffad51c2ba9786c321108129cc875f4ccb89b729abe0bf64--Easydict.dmg Error: SHA256 mismatch Expected: 0fe4c1e76c21fa3017a1a72176a858ebe64bfe86d9a894dd6a04fc2bcb01f8af Actual: b7883fcceebbc5d09d58c52382213390953bf97e765b3757c7b7da20c03fa49e File: /Users/york/Library/Caches/Homebrew/downloads/84fd59d81d654910ffad51c2ba9786c321108129cc875f4ccb89b729abe0bf64--Easydict.dmg To retry an incomplete download, remove the file above.

I found https://[formulae.brew.sh/api/cask/easydict.json](https://formulae.brew.sh/api/cask/easydict.json)

"sha256": "0fe4c1e76c21fa3017a1a72176a858ebe64bfe86d9a894dd6a04fc2bcb01f8af",

It seems that the sha256 on formulase is different with relase version img.

tisfeng commented 7 months ago

@Jerry23011 Please check this https://github.com/Homebrew/homebrew-cask/pull/166357/files

image
Jerry23011 commented 7 months ago

Updated, this could be caused by a change in hash after signing with Sparkle

Jerry23011 commented 7 months ago

@ysmintor Please try again and tell me if it works

ysmintor commented 7 months ago

@ysmintor Please try again and tell me if it works

Thanks. The fix has solved sha256 mismatch error.