修复微信作妖把以前标识版本的文件删了后无法获得版本号的问题(+修复自己粗心导致的问题)
张小聋没🐎
This commit is contained in:
parent
0a3722549f
commit
eaab123c66
@ -70,7 +70,7 @@ function extract_version() {
|
||||
|
||||
# new version
|
||||
7z x ${temp_path}/WeChatSetup.exe -o${temp_path}/temp
|
||||
dest_version=`ls -l temp | awk '{print $9}' | grep '^\[[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\]$' | sed -e 's/^\[//g' -e 's/\]$//g'`
|
||||
dest_version=`ls -l ${temp_path}/temp | awk '{print $9}' | grep '^\[[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\]$' | sed -e 's/^\[//g' -e 's/\]$//g'`
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user