mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 11:36:17 +00:00
Update zimaos.sh
This commit is contained in:
@@ -786,12 +786,12 @@ function download_loader() {
|
|||||||
| cut -d '"' -f 4)
|
| cut -d '"' -f 4)
|
||||||
|
|
||||||
|
|
||||||
if [[ -z "$DOWNLOAD_URL" ]]; then
|
# if [[ -z "$DOWNLOAD_URL" ]]; then
|
||||||
TAG=$(curl -fsSL "$API_URL" | grep -Eo '"tag_name":\s*"[^"]+"' | cut -d '"' -f 4 | head -1)
|
# TAG=$(curl -fsSL "$API_URL" | grep -Eo '"tag_name":\s*"[^"]+"' | cut -d '"' -f 4 | head -1)
|
||||||
if [[ -n "$TAG" ]]; then
|
# if [[ -n "$TAG" ]]; then
|
||||||
DOWNLOAD_URL="https://github.com/IceWhaleTech/ZimaOS/releases/download/${TAG}/zimaos-x86_64-${TAG}_installer.img"
|
# DOWNLOAD_URL="https://github.com/IceWhaleTech/ZimaOS/releases/download/${TAG}/zimaos-x86_64-${TAG}_installer.img"
|
||||||
fi
|
# fi
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if [[ -z "$DOWNLOAD_URL" ]]; then
|
if [[ -z "$DOWNLOAD_URL" ]]; then
|
||||||
msg_error "Failed to get latest ZimaOS release URL"
|
msg_error "Failed to get latest ZimaOS release URL"
|
||||||
|
|||||||
Reference in New Issue
Block a user