Skip to content

Commit

Permalink
add confirm
Browse files Browse the repository at this point in the history
  • Loading branch information
murkl committed Nov 3, 2024
1 parent c4c0c02 commit f0a213b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions d2launcher
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ show_gui_mxl_patches() {
}

show_gui_update_tweaks_db() {
! zenity_question "<big>D2Launcher Tweaks DB Updater</big>\n\nUpdate and replace local <b>tweaks.db</b>?" && return 1
if [[ "$tweaks_url" = "http"* ]]; then # Download
(curl -sLf "$tweaks_url" >"${SCRIPT_TEMP_DIR}/tweaks.db" || rm "${SCRIPT_TEMP_DIR}/tweaks.db") &
if ! zenity_progress $! "Downloading tweaks.db"; then
Expand Down

0 comments on commit f0a213b

Please sign in to comment.