mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +02:00
Added identity field to love.conf
This commit is contained in:
@@ -241,6 +241,7 @@ function love.init()
|
|||||||
thread = true,
|
thread = true,
|
||||||
},
|
},
|
||||||
console = false, -- Only relevant for windows.
|
console = false, -- Only relevant for windows.
|
||||||
|
identity = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- If config file exists, load it and allow it to update config table.
|
-- If config file exists, load it and allow it to update config table.
|
||||||
@@ -281,6 +282,8 @@ function love.init()
|
|||||||
love.graphics.setCaption(c.title)
|
love.graphics.setCaption(c.title)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if love.filesystem and c.identity then love.filesystem.setIdentity(c.identity) end
|
||||||
|
|
||||||
if love.filesystem and love.filesystem.exists("main.lua") then require("main.lua") end
|
if love.filesystem and love.filesystem.exists("main.lua") then require("main.lua") end
|
||||||
|
|
||||||
if no_game_code then
|
if no_game_code then
|
||||||
|
|||||||
+812
-805
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user