start saving some settings to disk on quit
[?]
Jul 1, 2022, 5:15 AM
7M7LS7I2QT6AFZ6RVK5KK2CZ6SNJAMQIWD7MX34F7MQ3MZKH72GACDependencies
- [2]
AM42E4Y6avoid redundant writes on exit - [3]
KVHUFUFVreorg - [4]
PX7DDEMOautosave slightly less aggressively - [5]
VIU2FBNVmake sure to save right when quitting - [6]
AVTNUQYRbasic test-enabled framework - [*]
OTIBCAUJlove2d scaffold
Change contents
- edit in main.lua at line 267
-- make sure to save before quitting - edit in main.lua at line 268
-- make sure to save before quitting - edit in main.lua at line 272
-- save some important settingslocal x,y,displayindex = love.window.getPosition()local settings = {x=x, y=y, displayindex=displayindex,width=App.screen.width, height=App.screen.height,font_height=Font_height, filename=Filename, screen_top=Screen_top1, cursor=Cursor1}love.filesystem.write('config', json.encode(settings))