mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-31 10:11:02 +00:00
fix cd /D "%installdir%"
for drive changing (#223)
This commit is contained in:
parent
6397307878
commit
9ae697ac20
@ -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"
|
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
|
rem distro-specific stuff: shortcuts and launch scripts
|
||||||
cd "%installdir%"
|
cd /D "%installdir%"
|
||||||
bin\dash.exe "%installdir%\config-distros.sh"
|
bin\dash.exe "%installdir%\config-distros.sh"
|
||||||
rem bin\dash.exe "%installdir%\config-distros.sh" -contextmenu
|
rem bin\dash.exe "%installdir%\config-distros.sh" -contextmenu
|
||||||
|
|
||||||
|
@ -12,19 +12,19 @@ rmdir /S /Q "%smf%"
|
|||||||
|
|
||||||
:start menu
|
:start menu
|
||||||
|
|
||||||
cd %installdir%
|
cd /D "%installdir%"
|
||||||
bin\dash.exe config-distros.sh -shortcuts-remove
|
bin\dash.exe config-distros.sh -shortcuts-remove
|
||||||
|
|
||||||
|
|
||||||
:explorer context menu
|
:explorer context menu
|
||||||
|
|
||||||
cd %installdir%
|
cd /D "%installdir%"
|
||||||
bin\dash.exe config-distros.sh -contextmenu-remove
|
bin\dash.exe config-distros.sh -contextmenu-remove
|
||||||
|
|
||||||
|
|
||||||
:undeploy
|
:undeploy
|
||||||
|
|
||||||
cd %installdir%
|
cd /D "%installdir%"
|
||||||
rem currently not removing software
|
rem currently not removing software
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user