Skip to content

Commit

Permalink
Update asl.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalMike60t committed Jan 31, 2025
1 parent 7033c75 commit 63f706a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions asl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ update_script_from_github() {
LOCAL_SCRIPT_PATH="$0" # Get the current script path
log "Updating script from GitHub..."

# Download the latest version from GitHub
# Use curl to download the latest version from GitHub
curl -fsSL "$GITHUB_RAW_URL" -o "$LOCAL_SCRIPT_PATH"

log "Script updated successfully."
if [ $? -eq 0 ]; then
log "Script updated successfully from GitHub."
else
log "Failed to update script from GitHub."
fi
}

# Color codes for different sections
Expand Down

0 comments on commit 63f706a

Please sign in to comment.