+ 错误复现如下
# 可配置环境变量,自定义一个初始值,然后进行下载,避免因为返回值为null而下载不了安装包
# bilitool: tag.txt记录的版本:null
# bilitool: bilitool未安装
# bilitool: 开始安装环境
# bilitool: 开始安装bilitool
# bilitool: 最新版本:null
# bilitool: 下载地址:https://ghproxy.net/https://github.com/RayWangQvQ/BiliBiliToolPro/releases/download/null/bilibili-tool-pro-vnull-linux-musl-x64.zip
# % Total % Received % Xferd Average Speed Time Time Time Current
# Dload Upload Total Spent Left Speed
# 100 9 100 9 0 0 10 0 --:--:-- --:--:-- --:--:-- 10
# Archive: bilitool-null.zip
# End-of-central-directory signature not found. Either this file is not
# a zipfile, or it constitutes one disk of a multi-part archive. In the
# latter case the central directory and zipfile comment will be found on
# the last disk(s) of this archive.
# unzip: cannot find zipfile directory in one of bilitool-null.zip or
# bilitool-null.zip.zip, and cannot find bilitool-null.zip.ZIP, period.
1、建议把部分变量改成全局变量增加兼容性
https://github.com/RayWangQvQ/BiliBiliToolPro/issues/781
2、增加业务逻辑:主要为了解决完成抓不到版本号时造成的更新错误 ,提高兼容性
<请描述您将贡献的内容>