mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-10-31 23:05:06 +01:00
bugfixes in check_riivolution_patch
This commit is contained in:
parent
37d6bea04a
commit
898b801026
@ -3,6 +3,10 @@ v2.6:
|
||||
call check_input_image_special aswell
|
||||
- bugfix: WIT got the image name wrong if the image was detected
|
||||
using check_input_image_special
|
||||
- bugfix: if PATCHIMAGE_RIIVOLUTION_DOWNLOAD from $HOME/.patchimage.rc
|
||||
was not honoured by the script
|
||||
- bugfix: if riivolution patch existed in PATCHIMAGE_RIIVOLUTION_DIR
|
||||
(set by $HOME/.patchimage.rc) it was not properly handled
|
||||
- support for Super Mario: Mushroom Adventure PLUS - Winter Moon
|
||||
- support for NSMBW3: The Final Levels
|
||||
|
||||
|
@ -139,7 +139,7 @@ check_input_image () {
|
||||
|
||||
check_riivolution_patch () {
|
||||
|
||||
if [[ ${PATCHIMAGE_RIIVOLTUION_DOWNLOAD} == "TRUE" ]]; then
|
||||
if [[ ${PATCHIMAGE_RIIVOLUTION_DOWNLOAD} == "TRUE" ]]; then
|
||||
if [[ ${DOWNLOAD_LINK} ]]; then
|
||||
if [[ ! -f "${PATCHIMAGE_RIIVOLUTION_DIR}"/"${RIIVOLUTION_ZIP}" ]]; then
|
||||
wget --no-check-certificate ${DOWNLOAD_LINK} -O "${PATCHIMAGE_RIIVOLUTION_DIR}"/"${RIIVOLUTION_ZIP}"
|
||||
@ -150,7 +150,7 @@ check_riivolution_patch () {
|
||||
exit 1
|
||||
fi
|
||||
elif [[ -f "${PATCHIMAGE_RIIVOLUTION_DIR}"/"${RIIVOLUTION_ZIP}" && ! -d "${RIIVOLUTION_DIR}" ]]; then
|
||||
tools/unp "${RIIVOLUTION_ZIP}" >/dev/null
|
||||
tools/unp "${PATCHIMAGE_RIIVOLUTION_DIR}"/"${RIIVOLUTION_ZIP}" >/dev/null
|
||||
elif [[ ! -d "${RIIVOLUTION_DIR}" ]]; then
|
||||
echo -e "please specify zip/rar to use with --riivolution=<path>"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user