mirror of
https://github.com/zsbai/wechat-versions.git
synced 2026-05-13 07:16:43 +00:00
fix bug
This commit is contained in:
@@ -99,7 +99,7 @@ function main() {
|
||||
|
||||
now_sum256=`shasum -a 256 ${temp_path}/WeChatMac.dmg | awk '{print $1}'`
|
||||
local latest_sum256=`gh release view --json body --jq ".body" | awk '/Sha256/{ print $2 }'`
|
||||
local latest_sum256=`gh release view --json body --jq ".body" | awk '/DestVersion/{ print $2 }'`
|
||||
local latest_version=`gh release view --json body --jq ".body" | awk '/DestVersion/{ print $2 }'`
|
||||
|
||||
if [ "$now_sum256" = "$latest_sum256" ]; then
|
||||
>&2 echo -e "\n\033[1;32mThis is the newest Version!\033[0m\n"
|
||||
|
||||
Reference in New Issue
Block a user