diff --git a/install.escript b/install.escript index cc905b3..6793603 100755 --- a/install.escript +++ b/install.escript @@ -110,9 +110,8 @@ zomp_dir({unix, _}) -> Home = os:getenv("HOME"), filename:join(Home, "zomp"); zomp_dir({win32, _}) -> - Drive = os:getenv("HOMEDRIVE"), - Path = os:getenv("HOMEPATH"), - filename:join([Drive, Path, "zomp"]); + Path = os:getenv("LOCALAPPDATA"), + filename:join(Path, "zomp"); zomp_dir(Unknown) -> Message = "zx_install: ERROR Unknown host system type: ~tp", ok = io:format(Message, [Unknown]),