1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-10-31 23:21:59 +00:00

continue: consider custom $installdir (#180), using mkshortcut.exe;

deploy tweaked mkshortcut, drop mkshortcut.vbs,
under the assumption that the VBS would cause false virus alerts (#181, #182)
This commit is contained in:
mintty
2019-08-07 00:00:00 +02:00
parent b60bcc15da
commit 7940883bd6
5 changed files with 840 additions and 5 deletions

View File

@@ -29,11 +29,16 @@ copy "configure WSL shortcuts.lnk" "%installdir%"
rem copy "WSL Terminal.lnk" "%installdir%"
rem copy "WSL Terminal %%.lnk" "%installdir%"
copy config-distros.sh "%installdir%"
copy mkshortcut.vbs "%installdir%"
copy uninstall.bat "%installdir%"
rem copy mkshortcut.vbs "%installdir%"
copy mkshortcut.exe "%installdir%"
copy cygpopt-0.dll "%installdir%"
rem allow persistent customization of default icon:
if not exist "%installdir%\wsl.ico" copy tux.ico "%installdir%\wsl.ico"
copy uninstall.bat "%installdir%"
if not exist "%installdir%\bin" goto instbin
rem move previous programs possibly in use out of the way
del /Q "%installdir%\bin\*.old"