about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2025-05-13 21:47:09 -0700
committerKartik K. Agaram <vc@akkartik.com>2025-05-13 21:47:09 -0700
commit853c6c92a1c1eeb500341d1b97a3b5e177388351 (patch)
tree7bc3bf7d1136e468d237076d7f9253b0008682d4
parent11cd9123c15f9b9e76c359a8ac672c21f299811a (diff)
downloadtext.love-853c6c92a1c1eeb500341d1b97a3b5e177388351.tar.gz
explicitly specify app name
I've resisted this for some reason all these years, but finally
encountered a situation that requires it:

  $ love ./

This runs the app, but with an identity of 'lovegame'. So all new
save dir, etc.
-rw-r--r--conf.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.lua b/conf.lua
new file mode 100644
index 0000000..f69a6f6
--- /dev/null
+++ b/conf.lua
@@ -0,0 +1,3 @@
+function love.conf(t)
+  t.identity = 'lines'
+end