[*] Linux regression
This commit is contained in:
parent
a5febd5cb6
commit
d7386a591a
@ -14,6 +14,7 @@ local function resolvePathAbs2(key, rootKey)
|
|||||||
local val = auGetSetting(key)
|
local val = auGetSetting(key)
|
||||||
if (not val) then return end
|
if (not val) then return end
|
||||||
local path = os.realpath(auGetSetting(rootKey) .. val)
|
local path = os.realpath(auGetSetting(rootKey) .. val)
|
||||||
|
if (not path) then path = auGetSetting(rootKey) .. val end
|
||||||
local key2 = "sAbs" .. key:sub(5)
|
local key2 = "sAbs" .. key:sub(5)
|
||||||
if (Aurora.Settings[key2]) then return Aurora.Settings[key2] end
|
if (Aurora.Settings[key2]) then return Aurora.Settings[key2] end
|
||||||
Aurora.Settings[key2] = path
|
Aurora.Settings[key2] = path
|
||||||
@ -22,7 +23,7 @@ end
|
|||||||
|
|
||||||
local function resolvePathAbs(key)
|
local function resolvePathAbs(key)
|
||||||
local path = resolvePathAbs2(key, "sAbsRoot")
|
local path = resolvePathAbs2(key, "sAbsRoot")
|
||||||
|
|
||||||
if (not path) then
|
if (not path) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user