Skip to content

Commit 348933f

Browse files
committed
fixup! open-pr: support updating InnoSetup
1 parent 99823be commit 348933f

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

update-scripts/version/innosetup

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
#!/bin/sh
22

3-
sh -x ./update-inno-setup.sh &&
43
set -x &&
5-
git add -A InnoSetup/
4+
url="https://files.jrsoftware.org/is/${1%%.*}/innosetup-$1.exe" &&
5+
curl -# -LR -D curl.log -o is.exe "$url" &&
6+
cat curl.log &&
7+
case "$(head -n 1 curl.log)" in
8+
HTTP/*" 200"*) ;; # okay
9+
*) false;;
10+
esac &&
11+
./is.exe //verysilent //dir=InnoSetup //noicons //tasks= //portable=1 //lang=english \
12+
//SP- //SUPPRESSMSGBOXES //NORESTART //LOG=is.log &&
13+
cat is.log &&
14+
git add -A InnoSetup/ &&
15+
git status

0 commit comments

Comments
 (0)