mirror of
				https://github.com/mintty/wsltty.git
				synced 2025-10-31 23:21:59 +00:00 
			
		
		
		
	revert fruitless attempt to hide VBS from aggressive virus scanners (~#94)
This commit is contained in:
		| @@ -197,8 +197,6 @@ do | |||||||
|         cmd /C del "%LOCALAPPDATA%\\Microsoft\\WindowsApps\\$name.bat" |         cmd /C del "%LOCALAPPDATA%\\Microsoft\\WindowsApps\\$name.bat" | ||||||
|         cmd /C del "%LOCALAPPDATA%\\Microsoft\\WindowsApps\\$name~.bat" |         cmd /C del "%LOCALAPPDATA%\\Microsoft\\WindowsApps\\$name~.bat" | ||||||
|       else |       else | ||||||
|         cmd /C copy mkshortcut.bat mkshortcut.vbs |  | ||||||
|  |  | ||||||
|         # desktop shortcut in %USERPROFILE% -> Start Menu - WSLtty |         # desktop shortcut in %USERPROFILE% -> Start Menu - WSLtty | ||||||
|         cscript /nologo mkshortcut.vbs "/name:$name Terminal %" |         cscript /nologo mkshortcut.vbs "/name:$name Terminal %" | ||||||
|         cmd /C copy "$name Terminal %.lnk" "%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\WSLtty" |         cmd /C copy "$name Terminal %.lnk" "%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\WSLtty" | ||||||
|   | |||||||
| @@ -26,9 +26,11 @@ copy "add to context menu.lnk" "%installdir%" | |||||||
| copy "add default to context menu.lnk" "%installdir%" | copy "add default to context menu.lnk" "%installdir%" | ||||||
| copy "remove from context menu.lnk" "%installdir%" | copy "remove from context menu.lnk" "%installdir%" | ||||||
| copy "configure WSL shortcuts.lnk" "%installdir%" | copy "configure WSL shortcuts.lnk" "%installdir%" | ||||||
|  | copy "WSL Terminal.lnk" "%installdir%" | ||||||
|  | copy "WSL Terminal %%.lnk" "%installdir%" | ||||||
| copy wsl.ico "%installdir%" | copy wsl.ico "%installdir%" | ||||||
| copy config-distros.sh "%installdir%" | copy config-distros.sh "%installdir%" | ||||||
| copy mkshortcut.bat "%installdir%" | copy mkshortcut.vbs "%installdir%" | ||||||
|  |  | ||||||
| if not exist "%installdir%\bin" goto instbin | if not exist "%installdir%\bin" goto instbin | ||||||
| rem move previous programs possibly in use out of the way | 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 "add default to context menu.lnk" "%smf%" | ||||||
| copy "remove from context menu.lnk" "%smf%" | copy "remove from context menu.lnk" "%smf%" | ||||||
| copy "configure WSL shortcuts.lnk" "%smf%" | copy "configure WSL shortcuts.lnk" "%smf%" | ||||||
|  | copy "WSL Terminal.lnk" "%smf%" | ||||||
|  | copy "WSL Terminal %%.lnk" "%smf%" | ||||||
| rem clean up previous installation | rem clean up previous installation | ||||||
| rmdir /S /Q "%smf%\context menu shortcuts" | rmdir /S /Q "%smf%\context menu shortcuts" | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								makefile
									
									
									
									
									
								
							| @@ -8,7 +8,7 @@ | |||||||
|  |  | ||||||
|  |  | ||||||
| # wsltty release | # wsltty release | ||||||
| ver=1.8.5 | ver=1.8.5.3 | ||||||
|  |  | ||||||
| ############################## | ############################## | ||||||
| # mintty release version | # mintty release version | ||||||
| @@ -163,7 +163,7 @@ cop:	ver | |||||||
| 	cp *.url rel/ | 	cp *.url rel/ | ||||||
| 	cp *.bat rel/ | 	cp *.bat rel/ | ||||||
| 	cp *.sh rel/ | 	cp *.sh rel/ | ||||||
| 	#cp *.vbs rel/ | 	cp *.vbs rel/ | ||||||
|  |  | ||||||
| cab:	cop | cab:	cop | ||||||
| 	cd rel; iexpress /n wsltty.SED | 	cd rel; iexpress /n wsltty.SED | ||||||
|   | |||||||
| @@ -41,7 +41,7 @@ FILE5="LICENSE.mintty" | |||||||
| FILE6="LICENSE.wslbridge" | FILE6="LICENSE.wslbridge" | ||||||
| FILE7="config-distros.sh" | FILE7="config-distros.sh" | ||||||
| FILE8="configure WSL shortcuts.lnk" | FILE8="configure WSL shortcuts.lnk" | ||||||
| FILE9="mkshortcut.bat" | FILE9="charnames.txt" | ||||||
| FILE10="VERSION" | FILE10="VERSION" | ||||||
| FILE11="dash.exe" | FILE11="dash.exe" | ||||||
| FILE12="regtool.exe" | FILE12="regtool.exe" | ||||||
| @@ -55,7 +55,9 @@ FILE19="wsltty home & help.url" | |||||||
| FILE20="zoo.exe" | FILE20="zoo.exe" | ||||||
| FILE21="lang.zoo" | FILE21="lang.zoo" | ||||||
| FILE22="themes.zoo" | FILE22="themes.zoo" | ||||||
| FILE23="charnames.txt" | FILE23="WSL Terminal %.lnk" | ||||||
|  | FILE24="WSL Terminal.lnk" | ||||||
|  | FILE25="mkshortcut.vbs" | ||||||
|  |  | ||||||
| [SourceFiles] | [SourceFiles] | ||||||
| SourceFiles0=. | SourceFiles0=. | ||||||
| @@ -85,4 +87,6 @@ SourceFiles0=. | |||||||
| %FILE21%= | %FILE21%= | ||||||
| %FILE22%= | %FILE22%= | ||||||
| %FILE23%= | %FILE23%= | ||||||
|  | %FILE24%= | ||||||
|  | %FILE25%= | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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 /target:%LOCALAPPDATA%\wsltty\bin\mintty.exe | ||||||
| rem /workingdir:%USERPROFILE% | rem /workingdir:%USERPROFILE% | ||||||
		Reference in New Issue
	
	Block a user