This commit is contained in:
Craig Everett 2018-05-24 08:03:39 +09:00
parent 8302d7eec5
commit e92d2b3153

View File

@ -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]),