1
0
mirror of https://github.com/mintty/wsltty.git synced 2026-02-08 00:32:03 +00:00

portable installation (#306)

This commit is contained in:
mintty
2022-03-22 00:00:00 +01:00
parent 73fcc66790
commit 4caa2c34eb
5 changed files with 59 additions and 3 deletions

View File

@@ -279,7 +279,7 @@ cop: copcab
mkdir -p rel
cp -fl $(CAB)/* rel/
installer: cop cab normal-installer silent-installer
installer: cop cab normal-installer silent-installer portable-installer
cab:
# build cab archive
@@ -299,6 +299,16 @@ silent-installer:
# build installer
cd rel; iexpress /n wsltty-quiet.SED
InstallPrompt=Install Mintty terminal for WSL Portable?
FinishMessage=Mintty for WSL Portable installation finished
portable-installer:
# prepare build of installer
rm -f rel/$(CAB)-install-portable.exe
cd rel; sed -e "/InstallPrompt/ s/=.*/=$(InstallPrompt)/" -e "/FinishMessage/ s/=.*/=$(FinishMessage)/" -e "/AppLaunched/ s/install/install-portable/" -e "/TargetName/ s/install.exe/install-portable.exe/" wsltty.SED > wsltty-portable.SED
# build installer
cd rel; iexpress /n wsltty-portable.SED
install: cop installbat
installbat: