This commit is contained in:
Kartik K. Agaram 2022-05-23 13:18:34 -07:00
parent 4490c5034f
commit 254ae7ad99
1 changed files with 2 additions and 1 deletions

View File

@ -83,6 +83,7 @@ Filename = love.filesystem.getUserDirectory()..'/lines.txt'
Debug_main = false
-- still in App.initialize
if #arg > 0 then
Filename = arg[1]
end
@ -95,7 +96,7 @@ Debug_main = false
end
love.window.setTitle('Text with Lines - '..Filename)
end
end -- App.initialize
function App.filedropped(file)
Filename = file:getFilename()