mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02:20 +00:00
Change windows options
This commit is contained in:
6
conf.lua
6
conf.lua
@@ -5,13 +5,13 @@ function love.conf(t)
|
|||||||
t.game_version = nil -- The version of your game (string)
|
t.game_version = nil -- The version of your game (string)
|
||||||
t.icon = nil -- The path to the executable icons (string)
|
t.icon = nil -- The path to the executable icons (string)
|
||||||
t.console = false -- Attach a console (boolean, Windows only)
|
t.console = false -- Attach a console (boolean, Windows only)
|
||||||
|
|
||||||
t.title = "Untitled" -- The name of the game (string)
|
t.title = "Untitled" -- The name of the game (string)
|
||||||
t.author = "Unnamed" -- The name of the author (string)
|
t.author = "Unnamed" -- The name of the author (string)
|
||||||
t.email = nil -- The email of the author (string)
|
t.email = nil -- The email of the author (string)
|
||||||
t.url = nil -- The website of the game (string)
|
t.url = nil -- The website of the game (string)
|
||||||
t.description = nil -- The description of the game (string)
|
t.description = nil -- The description of the game (string)
|
||||||
|
|
||||||
-- OS to release your game on. Use a table if you want to overwrite the options, or just the OS name.
|
-- OS to release your game on. Use a table if you want to overwrite the options, or just the OS name.
|
||||||
-- Available OS are "love", "windows", "osx", "debian" and "android".
|
-- Available OS are "love", "windows", "osx", "debian" and "android".
|
||||||
-- A LÖVE file is created if none is specified.
|
-- A LÖVE file is created if none is specified.
|
||||||
@@ -27,7 +27,7 @@ function love.conf(t)
|
|||||||
"debian",
|
"debian",
|
||||||
"android",
|
"android",
|
||||||
}
|
}
|
||||||
|
|
||||||
-- t.window.*
|
-- t.window.*
|
||||||
-- t.modules.*
|
-- t.modules.*
|
||||||
end
|
end
|
||||||
|
@@ -204,9 +204,9 @@ else
|
|||||||
end
|
end
|
||||||
|
|
||||||
if os == "windows" then
|
if os == "windows" then
|
||||||
t.os.windows.x86 = t.os.windows.x86 or true
|
t.os.windows.x86 = t.os.windows.x86 and true or false
|
||||||
t.os.windows.x64 = t.os.windows.x64 or true
|
t.os.windows.x64 = t.os.windows.x64 and true or false
|
||||||
t.os.windows.installer = t.os.windows.installer or false
|
t.os.windows.installer = t.os.windows.installer and true or false
|
||||||
t.os.windows.appid = t.os.windows.appid or ""
|
t.os.windows.appid = t.os.windows.appid or ""
|
||||||
print("X86="..tostring(t.os.windows.x86))
|
print("X86="..tostring(t.os.windows.x86))
|
||||||
print("X64="..tostring(t.os.windows.x64))
|
print("X64="..tostring(t.os.windows.x64))
|
||||||
|
Reference in New Issue
Block a user