about summary refs log tree commit diff stats
path: root/app.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-10-09 20:00:36 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-10-09 20:05:19 -0700
commit6e391d7875158a9351eae9976067671a0ef5ad0e (patch)
tree96115be8b30089090a26ce48750b1cb3a7f23dfe /app.lua
parentbd6f7d48e76182218877564e8ca672e657f4ef56 (diff)
downloadlines.love-6e391d7875158a9351eae9976067671a0ef5ad0e.tar.gz
start supporting LÖVE v12
To do this I need some support for multiple versions. And I need an
'error' mode to go with existing 'run' and 'source' modes
(`Current_app`). Most errors will automatically transition to 'source'
editor mode, but some errors aren't really actionable in the editor. For
those we'll use 'error' mode.

The app doesn't yet work with LÖVE v12. There are some unit tests failing
because of differences in font rendering.
Diffstat (limited to 'app.lua')
-rw-r--r--app.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.lua b/app.lua
index 55b1b0d..5e3301f 100644
--- a/app.lua
+++ b/app.lua
@@ -8,6 +8,7 @@
 --     and a source editor, while giving each the illusion of complete
 --     control.
 function love.run()
+  App.version_check()
   App.snapshot_love()
   -- Tests always run at the start.
   App.run_tests_and_initialize()