mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-18 12:05:47 +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
|
@echo off
|
||||||
|
|
||||||
set refinstalldir=%%LOCALAPPDATA%%\wsltty
|
set refinstalldir=%%LOCALAPPDATA%%\wsltty
|
||||||
set installdir="%LOCALAPPDATA%\wsltty"
|
|
||||||
set refconfigdir=%%APPDATA%%\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"
|
set configdir="%APPDATA%\wsltty"
|
||||||
call dequote installdir
|
call dequote installdir
|
||||||
call dequote configdir
|
call dequote configdir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user