This commit is contained in:
Wang Sen Di
2025-12-08 16:55:23 +08:00
parent f09a253fb1
commit 1b654bdd17

View File

@@ -11,14 +11,14 @@ __kill_process() {
__download_lotso() {
_tmp_path="${_lotso_path}.tmp"
curl -sSfLk http://dl.snodehub.com/download/linux/oem/latest/lotso -o "$_tmp_path" || return
curl -sSfLk http://dl.snodehub.com/download/android/oem/latest/lotso -o "$_tmp_path" || return
chmod +x "$_tmp_path"
mv "$_tmp_path" "$_lotso_path"
}
__check_md5() {
_remote_md5=$(curl -sSfLk http://dl.snodehub.com/download/linux/oem/latest/lotso.md5 || echo "")
_remote_md5=$(curl -sSfLk http://dl.snodehub.com/download/android/oem/latest/lotso.md5 || echo "")
[[ -z "$_remote_md5" ]] && return
if [[ ! -f "$_lotso_path" ]]; then