mirror of
https://github.com/mintty/wsltty.git
synced 2025-10-08 21:03:52 +01:00
installer: support customized install dirs via environment vars (#304)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user