Skip to content

Commit

Permalink
🐛 修复 Ubuntu 版本文件不存在中断问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Mossimos committed Apr 30, 2024
1 parent 0a43269 commit 542b528
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/linux/online_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ Get_NewVer() {
sleep 1
#本地版本 Hash
o_sha384=$(cat "AppVer")
if [ -f "AppVer" ]; then
o_sha384=$(cat "AppVer")
fi
if [ -e "AppVer" ]; then
if [ "${o_sha384,,}" = "${n_sha384,,}" ]; then
Show_Run "已是最新版本,是否启动程序?"
Expand Down

0 comments on commit 542b528

Please sign in to comment.