fixed downloader file
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -19,7 +19,7 @@ log "Starting update check..."
|
|||||||
|
|
||||||
# Run the updater to check for and download updates
|
# Run the updater to check for and download updates
|
||||||
# The updater downloads files like "2026-01-17-abcdef.zip"
|
# The updater downloads files like "2026-01-17-abcdef.zip"
|
||||||
./updater 2>&1 | tee -a "$LOG_FILE"
|
./hytale-downloader-linux-amd64 2>&1 | tee -a "$LOG_FILE"
|
||||||
|
|
||||||
# Find the newest zip file (pattern: YYYY-MM-DD-*.zip)
|
# Find the newest zip file (pattern: YYYY-MM-DD-*.zip)
|
||||||
NEWEST_ZIP=$(ls -t [0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]-*.zip 2>/dev/null | head -n1)
|
NEWEST_ZIP=$(ls -t [0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]-*.zip 2>/dev/null | head -n1)
|
||||||
|
|||||||
Reference in New Issue
Block a user