diff --git a/conf.lua b/conf.lua index b6210a9..36a5d3c 100644 --- a/conf.lua +++ b/conf.lua @@ -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 diff --git a/love-release.sh b/love-release.sh index 8b8eb33..5ee3a79 100755 --- a/love-release.sh +++ b/love-release.sh @@ -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))