Skip to content

Commit b6b2cd8

Browse files
committed
Download f2_res files from corresponding repo
1 parent 17a4a5a commit b6b2cd8

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

extra/package.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ cd ..
7777
# ammo mod from sfall
7878
"$extra_dir"/package/ammo.sh
7979

80+
# hi-res patch files
81+
"$extra_dir"/package/f2_res.sh
82+
8083
# manual package: linux/mac os
8184
pushd .
8285
# shellcheck disable=SC2154 # from env.sh

extra/package/f2_res.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
set -xeu -o pipefail
4+
5+
# shellcheck disable=SC2154 # from env.sh
6+
cd "$release_dir"
7+
# shellcheck disable=SC2154 # from env.sh
8+
wget -nv "$(curl -s "https://api.github.com/repos/f2_res/releases/latest" | grep browser_download_url | awk -F '"' '{print $4}')"
9+
unzip f2_res*.zip
10+
mv f2_res.dat mods/
11+
rm -f f2_res*.zip

release/mods/f2_res.dat

-643 KB
Binary file not shown.

0 commit comments

Comments
 (0)