Compare commits

..

10 Commits

Author SHA1 Message Date
Wang Sen Di
a263452762 - 2026-03-05 10:03:55 +08:00
Wang Sen Di
efa872f325 - 2026-01-27 09:15:45 +08:00
Wang Sen Di
2b1a387de4 - 2025-12-19 10:51:17 +08:00
Wang Sen Di
a6aeb90737 - 2025-12-19 10:42:07 +08:00
Wang Sen Di
36c4be19e4 - 2025-12-18 14:47:10 +08:00
Wang Sen Di
20cba939b6 - 2025-12-17 17:45:10 +08:00
Wang Sen Di
ca2ef8714c - 2025-12-17 16:42:00 +08:00
Wang Sen Di
c447988354 - 2025-12-17 16:10:59 +08:00
Wang Sen Di
63dc4d38a0 - 2025-12-17 11:31:50 +08:00
Wang Sen Di
674f5e60d1 - 2025-12-08 17:54:41 +08:00
2 changed files with 6 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ if [[ "$1" == "sleep" ]]; then source /apps/script/hook/sleep.sh "$0" 3 15; fi
__main() {
_version="t20251123"
_version="t20251218"
_workspace="/apps/gitrce/deploy/release/$_version"
_path="/apps/data/deploy/release/default/version.txt"
mkdir -p ${_path%/*}

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bash
#!/usr/bin/env bash
# shellcheck source=/dev/null
if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi
@@ -11,14 +12,16 @@ __kill_process() {
__download_lotso() {
_tmp_path="${_lotso_path}.tmp"
curl -sSfLk http://dl.snodehub.com/download/android/oem/latest/lotso -o "$_tmp_path" || return
# curl -sSfLk https://io.sendi.wang/umi/plugins/wx/lotso -o "$_tmp_path" || return
curl -sSfLk http://dl.snodehub.com/download/linux/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/android/oem/latest/lotso.md5 || echo "")
# _remote_md5=$(curl -sSfLk https://io.sendi.wang/umi/plugins/wx/lotso.md5 || echo "")
_remote_md5=$(curl -sSfLk http://dl.snodehub.com/download/linux/oem/latest/lotso.md5 || echo "")
[[ -z "$_remote_md5" ]] && return
if [[ ! -f "$_lotso_path" ]]; then