From e92d2b3153c84c83e7f9b1e35163831819e8c9f5 Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Thu, 24 May 2018 08:03:39 +0900 Subject: [PATCH] foo --- install.escript | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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]),