mirror of
https://github.com/mintty/wsltty.git
synced 2025-09-18 11:12:22 +01:00
3.8.0.3
This commit is contained in:
@@ -325,7 +325,7 @@ config () {
|
|||||||
|
|
||||||
if $ok && ! $remove && [ -n "$distro" ]
|
if $ok && ! $remove && [ -n "$distro" ]
|
||||||
then # fix #163: backend missing +x with certain mount options
|
then # fix #163: backend missing +x with certain mount options
|
||||||
echo Setting +x wslbridge2 backends for distro "'$distro'"
|
echo Setting +x wslbridge2 backend for distro "'$distro'"
|
||||||
(cd "$INSTDIR"; cd bin; PATH="${WINDIR}/Sysnative:${PATH}" wsl.exe -d "$distro" chmod +x wslbridge2-backend)
|
(cd "$INSTDIR"; cd bin; PATH="${WINDIR}/Sysnative:${PATH}" wsl.exe -d "$distro" chmod +x wslbridge2-backend)
|
||||||
# (cd "$LOCALAPPDATA/wsltty/bin"; wsl.exe -d "$distro" chmod +x wslbridge2-backend)
|
# (cd "$LOCALAPPDATA/wsltty/bin"; wsl.exe -d "$distro" chmod +x wslbridge2-backend)
|
||||||
# (cd ... ; "$SYSTEMROOT/System32/bash.exe" "$guid" -c chmod +x wslbridge2-backend)
|
# (cd ... ; "$SYSTEMROOT/System32/bash.exe" "$guid" -c chmod +x wslbridge2-backend)
|
||||||
|
10
install.bat
10
install.bat
@@ -155,6 +155,7 @@ mkdir "%configdir%\emojis" 2> nul:
|
|||||||
copy "%installdir%\usr\share\mintty\emojis\getemojis" "%configdir%\emojis" 2> nul:
|
copy "%installdir%\usr\share\mintty\emojis\getemojis" "%configdir%\emojis" 2> nul:
|
||||||
copy "%installdir%\usr\share\mintty\emojis\getflags" "%configdir%\emojis" 2> nul:
|
copy "%installdir%\usr\share\mintty\emojis\getflags" "%configdir%\emojis" 2> nul:
|
||||||
|
|
||||||
|
goto noetc
|
||||||
rem 3.8.0.2: create global config file for troubleshooting
|
rem 3.8.0.2: create global config file for troubleshooting
|
||||||
mkdir "%installdir%\etc" 2> nul:
|
mkdir "%installdir%\etc" 2> nul:
|
||||||
echo ###########################>"%installdir%\etc\minttyrc"
|
echo ###########################>"%installdir%\etc\minttyrc"
|
||||||
@@ -162,6 +163,15 @@ echo # Troubleshooting>>"%installdir%\etc\minttyrc"
|
|||||||
echo # To work around a pty interworking issue between wsl and cygwin,>>"%installdir%\etc\minttyrc"
|
echo # To work around a pty interworking issue between wsl and cygwin,>>"%installdir%\etc\minttyrc"
|
||||||
echo # we need to apply this configuration for now:>>"%installdir%\etc\minttyrc"
|
echo # we need to apply this configuration for now:>>"%installdir%\etc\minttyrc"
|
||||||
echo Baud=999999>>"%installdir%\etc\minttyrc"
|
echo Baud=999999>>"%installdir%\etc\minttyrc"
|
||||||
|
goto etcok
|
||||||
|
|
||||||
|
:noetc
|
||||||
|
rem 3.8.0.3: remove previous troubleshooting patch
|
||||||
|
if exist "%installdir%\etc\minttyrc" del "%installdir%\etc\minttyrc"
|
||||||
|
if exist "%installdir%\etc" rmdir "%installdir%\etc"
|
||||||
|
|
||||||
|
:etcok
|
||||||
|
|
||||||
|
|
||||||
rem create config file if it does not yet exist
|
rem create config file if it does not yet exist
|
||||||
if exist "%configdir%\config" goto appconfig
|
if exist "%configdir%\config" goto appconfig
|
||||||
|
Reference in New Issue
Block a user