Skip to content

Commit

Permalink
4.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
murkl committed Apr 7, 2024
1 parent 962c0d3 commit 94b77bf
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions d2launcher
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

SCRIPT_VERSION="4.0.4"
SCRIPT_VERSION="4.0.5"

# /////////////////////////////////////////////////////
# LOCATE SCRIPT WORKING DIR
Expand Down Expand Up @@ -528,14 +528,11 @@ show_gui_mxl_patches() {
fi

# Patching Diablo II core data
unzip -o "$D2_CORE_PATCH_FILE" -d "$d2_dir"
unzip -o "$D2_CORE_PATCH_FILE" -d "$d2_dir" -x "${mxl_update_exclude[@]}"

# Patching content of patch file to Diablo II dir
if [ -z "${mxl_update_exclude[*]}" ]; then
unzip -o "$MXL_PATCHES_DIR/$patch_filename.zip" -d "$d2_dir"
else
unzip -o "$MXL_PATCHES_DIR/$patch_filename.zip" -d "$d2_dir" -x "${mxl_update_exclude[@]}"
fi
unzip -o "$MXL_PATCHES_DIR/$patch_filename.zip" -d "$d2_dir" -x "${mxl_update_exclude[@]}"

echo "$patch_filename" >"$d2_dir/$MXL_PATCH_VERSION"

) &
Expand Down

0 comments on commit 94b77bf

Please sign in to comment.