Tekken 3 updated. Should be self-updating from now on because it uses github releases.
This commit is contained in:
1 parent
7709ec83d8
commit
8e33ef63d0
6 files changed
+125
-186
No files matched your search
@@ -23,12 +23,17 @@ if ! mkdir -p "$cache"; then
|
||||
alert "Tekken 3 Update" "Could not create the download cache: ${cache}"
|
||||
exit 1
|
||||
fi
|
||||
if ! download "https://github.com/BlindChallengerX/Tekken3-Access/releases/download/v1.0.1/Tekken3Access-1.0.1.zip"; then
|
||||
alert "Tekken 3 Update" "Could not download Tekken 3 Access 1.0.1."
|
||||
if ! updateOutput="$(python3 "${scriptDir}/game-scripts/tekken3_setup.py" latest-release 2>&1)"; then
|
||||
alert "Tekken 3 Update" "$updateOutput"
|
||||
exit 1
|
||||
fi
|
||||
IFS=$'\t' read -r modVersion modUrl modHash <<< "$updateOutput"
|
||||
if ! download "$modUrl"; then
|
||||
alert "Tekken 3 Update" "Could not download Tekken 3 Access ${modVersion}."
|
||||
exit 1
|
||||
fi
|
||||
if ! updateOutput="$(python3 "${scriptDir}/game-scripts/tekken3_setup.py" update \
|
||||
"${cache}/Tekken3Access-1.0.1.zip" "$gamePath" 2>&1)"; then
|
||||
"${cache}/${modUrl##*/}" "$gamePath" --mod-sha256 "$modHash" --mod-version "$modVersion" 2>&1)"; then
|
||||
alert "Tekken 3 Update" "$updateOutput"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user