Skip to content

Commit

Permalink
Upgrade to newer version of 7-Zip for portable Windows build.
Browse files Browse the repository at this point in the history
  • Loading branch information
auouymous committed Aug 3, 2022
1 parent c8e4f20 commit ce9a2a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/win_installer/_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -473,10 +473,10 @@ function build_portable_installer {
mkdir "$PORTABLE"/config
cp -RT "${MINGW_ROOT}" "$PORTABLE"/data

rm -Rf 7zout 7z1604.exe
rm -Rf 7zout 7z2201.exe
7z a payload.7z "$PORTABLE"
wget -P "$DIR" -c http://www.7-zip.org/a/7z1604.exe
7z x -o7zout 7z1604.exe
wget -P "$DIR" -c http://www.7-zip.org/a/7z2201.exe
7z x -o7zout 7z2201.exe
cat 7zout/7z.sfx payload.7z > "$PORTABLE".exe
rm -Rf 7zout 7z1604.exe payload.7z "$PORTABLE"
rm -Rf 7zout 7z2201.exe payload.7z "$PORTABLE"
}

0 comments on commit ce9a2a7

Please sign in to comment.