mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02:20 +00:00
Little fix in read_config
This commit is contained in:
@@ -185,14 +185,13 @@ for _, f in ipairs(fields) do
|
|||||||
t[f] = t[f] or ""
|
t[f] = t[f] or ""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
t.os = t.os or {}
|
||||||
for _, v in ipairs(t.os) do
|
for _, v in ipairs(t.os) do
|
||||||
t.os[v] = {}
|
t.os[v] = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
if os == "default" then
|
if os == "default" then
|
||||||
if not t.os then t.os = {} end
|
t.os.default = {}
|
||||||
if not t.os.love then t.os.love = {} end
|
|
||||||
t.os.default = t.os.love
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if t.os[os] then
|
if t.os[os] then
|
||||||
|
Reference in New Issue
Block a user