Merge pull request #403 from rds13/featureFixKML
fix HOME environment variable name
This commit is contained in:
@@ -334,7 +334,7 @@ local defaultDir = ''
|
|||||||
if dt.configuration.running_os == "windows" then
|
if dt.configuration.running_os == "windows" then
|
||||||
defaultDir = os.getenv("USERPROFILE")
|
defaultDir = os.getenv("USERPROFILE")
|
||||||
elseif dt.configuration.running_os == "macos" then
|
elseif dt.configuration.running_os == "macos" then
|
||||||
defaultDir = os.getenv("home")
|
defaultDir = os.getenv("HOME")
|
||||||
else
|
else
|
||||||
local handle = io.popen("xdg-user-dir DESKTOP")
|
local handle = io.popen("xdg-user-dir DESKTOP")
|
||||||
defaultDir = handle:read()
|
defaultDir = handle:read()
|
||||||
|
|||||||
Reference in New Issue
Block a user