Skip to content

Commit

Permalink
Review fatal removals + version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankk2308 committed Jun 26, 2018
1 parent 9a1aece commit c1fec25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions purge-wrangler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# purge-wrangler.sh
# Author(s): Mayank Kumar (mayankk2308, github.com / mac_editor, egpu.io)
# License: Specified in LICENSE.md.
# Version: 4.0.0
# Version: 4.0.1
# PurgeWrangler 4 adds significant improvements to NVIDIA eGPU support and
# deprecates @yifanlu's NVDAEGPUSupport kext for the first time (thanks to
# @goalque at egpu.io). Other improvements include a refined codebase, new
Expand Down Expand Up @@ -42,7 +42,7 @@ BIN_CALL=0
SCRIPT_FILE=""

# Script version
SCRIPT_MAJOR_VER="4" && SCRIPT_MINOR_VER="0" && SCRIPT_PATCH_VER="0"
SCRIPT_MAJOR_VER="4" && SCRIPT_MINOR_VER="0" && SCRIPT_PATCH_VER="1"
SCRIPT_VER="${SCRIPT_MAJOR_VER}.${SCRIPT_MINOR_VER}.${SCRIPT_PATCH_VER}"

# User input
Expand Down Expand Up @@ -283,7 +283,7 @@ generate_new_bin() {
SCRATCH_BIN="${2}"
TARGET_BIN="${3}"
xxd -r -p "${SCRATCH_HEX}" "${SCRATCH_BIN}"
rm "${TARGET_BIN}" && rm "${SCRATCH_HEX}" && mv "${SCRATCH_BIN}" "${TARGET_BIN}"
rm "${TARGET_BIN}" "${SCRATCH_HEX}" && mv "${SCRATCH_BIN}" "${TARGET_BIN}"
}

# Primary patching mechanism
Expand Down

0 comments on commit c1fec25

Please sign in to comment.