1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-01-31 02:01:01 +00:00

fix cd /D "%installdir%" for drive changing (#223)

This commit is contained in:
Thomas Wolff 2020-03-05 00:00:00 +01:00
parent 6397307878
commit 9ae697ac20
2 changed files with 4 additions and 4 deletions

View File

@ -131,7 +131,7 @@ rem create config file if it does not yet exist
if not exist "%configdir%\config" echo # To use common configuration in %%APPDATA%%\mintty, simply remove this file>"%configdir%\config"
rem distro-specific stuff: shortcuts and launch scripts
cd "%installdir%"
cd /D "%installdir%"
bin\dash.exe "%installdir%\config-distros.sh"
rem bin\dash.exe "%installdir%\config-distros.sh" -contextmenu

View File

@ -12,19 +12,19 @@ rmdir /S /Q "%smf%"
:start menu
cd %installdir%
cd /D "%installdir%"
bin\dash.exe config-distros.sh -shortcuts-remove
:explorer context menu
cd %installdir%
cd /D "%installdir%"
bin\dash.exe config-distros.sh -contextmenu-remove
:undeploy
cd %installdir%
cd /D "%installdir%"
rem currently not removing software