move default file location

This works better on mobile platforms while seeming about as useful
anywhere else.

I've verified that anyone who already edited a file will continue to use
its path from settings.
This commit is contained in:
Kartik K. Agaram 2023-03-18 23:12:50 -07:00
parent f7f5973cb7
commit fceb2404fb
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ function edit.initialize_state(top, left, right, font_height, line_height) -- c
right = math.floor(right),
width = right-left,
filename = love.filesystem.getUserDirectory()..'/lines.txt', -- '/' should work even on Windows
filename = love.filesystem.getSourceBaseDirectory()..'/lines.txt', -- '/' should work even on Windows
next_save = nil,
-- undo