mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-18 03:55:49 +00:00
installer: support customized install dirs via environment vars (#304)
This commit is contained in:
parent
ea570a191e
commit
5cee2c341b
@ -1,8 +1,10 @@
|
||||
@echo off
|
||||
|
||||
set refinstalldir=%%LOCALAPPDATA%%\wsltty
|
||||
set installdir="%LOCALAPPDATA%\wsltty"
|
||||
set refconfigdir=%%APPDATA%%\wsltty
|
||||
if "%installdir%" == "" set installdir="%LOCALAPPDATA%\wsltty"
|
||||
if "%configdir%" == "" set configdir="%APPDATA%\wsltty"
|
||||
set installdir="%LOCALAPPDATA%\wsltty"
|
||||
set configdir="%APPDATA%\wsltty"
|
||||
call dequote installdir
|
||||
call dequote configdir
|
||||
|
Loading…
Reference in New Issue
Block a user