Change windows options

This commit is contained in:
Antonin Décimo
2015-06-13 17:22:11 +02:00
parent 9830124a31
commit 06d5369877
2 changed files with 6 additions and 6 deletions

View File

@@ -5,13 +5,13 @@ function love.conf(t)
t.game_version = nil -- The version of your game (string)
t.icon = nil -- The path to the executable icons (string)
t.console = false -- Attach a console (boolean, Windows only)
t.title = "Untitled" -- The name of the game (string)
t.author = "Unnamed" -- The name of the author (string)
t.email = nil -- The email of the author (string)
t.url = nil -- The website 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.
-- Available OS are "love", "windows", "osx", "debian" and "android".
-- A LÖVE file is created if none is specified.
@@ -27,7 +27,7 @@ function love.conf(t)
"debian",
"android",
}
-- t.window.*
-- t.modules.*
end

View File

@@ -204,9 +204,9 @@ else
end
if os == "windows" then
t.os.windows.x86 = t.os.windows.x86 or true
t.os.windows.x64 = t.os.windows.x64 or true
t.os.windows.installer = t.os.windows.installer or false
t.os.windows.x86 = t.os.windows.x86 and true or false
t.os.windows.x64 = t.os.windows.x64 and true or false
t.os.windows.installer = t.os.windows.installer and true or false
t.os.windows.appid = t.os.windows.appid or ""
print("X86="..tostring(t.os.windows.x86))
print("X64="..tostring(t.os.windows.x64))