1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-03-25 03:58:55 +00:00

revert fruitless attempt to hide VBS from aggressive virus scanners (~#94)

This commit is contained in:
mintty 2018-04-18 10:46:17 +02:00
parent e9b2e108f7
commit ace39cbd03
7 changed files with 15 additions and 9 deletions

0
README.md Executable file → Normal file
View File

View File

@ -1 +1 @@
1.8.5
1.8.5.2

View File

@ -197,8 +197,6 @@ do
cmd /C del "%LOCALAPPDATA%\\Microsoft\\WindowsApps\\$name.bat"
cmd /C del "%LOCALAPPDATA%\\Microsoft\\WindowsApps\\$name~.bat"
else
cmd /C copy mkshortcut.bat mkshortcut.vbs
# desktop shortcut in %USERPROFILE% -> Start Menu - WSLtty
cscript /nologo mkshortcut.vbs "/name:$name Terminal %"
cmd /C copy "$name Terminal %.lnk" "%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\WSLtty"

View File

@ -26,9 +26,11 @@ copy "add to context menu.lnk" "%installdir%"
copy "add default to context menu.lnk" "%installdir%"
copy "remove from context menu.lnk" "%installdir%"
copy "configure WSL shortcuts.lnk" "%installdir%"
copy "WSL Terminal.lnk" "%installdir%"
copy "WSL Terminal %%.lnk" "%installdir%"
copy wsl.ico "%installdir%"
copy config-distros.sh "%installdir%"
copy mkshortcut.bat "%installdir%"
copy mkshortcut.vbs "%installdir%"
if not exist "%installdir%\bin" goto instbin
rem move previous programs possibly in use out of the way
@ -75,6 +77,8 @@ copy "add to context menu.lnk" "%smf%"
copy "add default to context menu.lnk" "%smf%"
copy "remove from context menu.lnk" "%smf%"
copy "configure WSL shortcuts.lnk" "%smf%"
copy "WSL Terminal.lnk" "%smf%"
copy "WSL Terminal %%.lnk" "%smf%"
rem clean up previous installation
rmdir /S /Q "%smf%\context menu shortcuts"

View File

@ -8,7 +8,7 @@
# wsltty release
ver=1.8.5
ver=1.8.5.3
##############################
# mintty release version
@ -163,7 +163,7 @@ cop: ver
cp *.url rel/
cp *.bat rel/
cp *.sh rel/
#cp *.vbs rel/
cp *.vbs rel/
cab: cop
cd rel; iexpress /n wsltty.SED

View File

@ -41,7 +41,7 @@ FILE5="LICENSE.mintty"
FILE6="LICENSE.wslbridge"
FILE7="config-distros.sh"
FILE8="configure WSL shortcuts.lnk"
FILE9="mkshortcut.bat"
FILE9="charnames.txt"
FILE10="VERSION"
FILE11="dash.exe"
FILE12="regtool.exe"
@ -55,7 +55,9 @@ FILE19="wsltty home & help.url"
FILE20="zoo.exe"
FILE21="lang.zoo"
FILE22="themes.zoo"
FILE23="charnames.txt"
FILE23="WSL Terminal %.lnk"
FILE24="WSL Terminal.lnk"
FILE25="mkshortcut.vbs"
[SourceFiles]
SourceFiles0=.
@ -85,4 +87,6 @@ SourceFiles0=.
%FILE21%=
%FILE22%=
%FILE23%=
%FILE24%=
%FILE25%=

View File

@ -1,4 +1,4 @@
rem cscript mkshortcut [/param:arg] /target:link
rem cscript mkshortcut.vbs [/param:arg] /target:link
rem /target:%LOCALAPPDATA%\wsltty\bin\mintty.exe
rem /workingdir:%USERPROFILE%