mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Added identity field to love.conf
This commit is contained in:
@@ -241,6 +241,7 @@ function love.init()
|
||||
thread = true,
|
||||
},
|
||||
console = false, -- Only relevant for windows.
|
||||
identity = false,
|
||||
}
|
||||
|
||||
-- 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)
|
||||
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 no_game_code then
|
||||
|
||||
+812
-805
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user