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:
12
makefile
12
makefile
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user