mirror of
https://github.com/mintty/wsltty.git
synced 2025-10-31 23:21:59 +00:00
portable installation (#306)
This commit is contained in:
@@ -137,11 +137,16 @@ mkdir "%configdir%\themes" 2> nul:
|
||||
mkdir "%configdir%\sounds" 2> nul:
|
||||
|
||||
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 exist "%configdir%\config" goto appconfig
|
||||
echo # To use common configuration in %%APPDATA%%\mintty, simply remove this file>"%configdir%\config"
|
||||
if "%3" == "/P" echo # Do not remove this file for WSLtty Portable>>"%configdir%\config"
|
||||
|
||||
|
||||
:appconfig
|
||||
|
||||
rem skip configuration for WSLtty Portable
|
||||
if "%3" == "/P" goto end
|
||||
|
||||
rem distro-specific stuff: shortcuts and launch scripts
|
||||
cd /D "%installdir%"
|
||||
echo Configuring for WSL distributions
|
||||
|
||||
Reference in New Issue
Block a user