diff --git a/.includes/update.sh b/.includes/update.sh index 6af5e2a..5f9dd37 100644 --- a/.includes/update.sh +++ b/.includes/update.sh @@ -36,7 +36,17 @@ if [[ "$home" == "$remote" ]]; then return fi agm_yesno "Audiogame Manager" "Audiogame Manager" "Updates are available. Would you like to update now?" || return - { git pull - git log '@{1}..' --pretty=format:'%an: %s' | tac; } - exit $? + + # Capture update output for display + local updateOutput + updateOutput=$({ git pull 2>&1 + echo + echo "Recent changes:" + git log '@{1}..' --pretty=format:'%an: %s' | tac; } 2>&1) + local updateResult=$? + + # Show the update results + agm_msgbox "Update Complete" "Audiogame Manager" "$updateOutput" + + exit $updateResult }