Also a sync a few other changes.
C6AT7PEUHQMNRTF2EJOGDDULKPZRF3SRUXTNUSIAKTWFIN4ILZEQC
ZJPFAJVMVVKNZCQPQPCHIPCLMG5VRNVUMG5ZY3VR5B57PRNFJAOAC
local files_to_load = {}
local buf = love.filesystem.read(filename) assert(buf and buf ~= '') app.eval(buf)
local buf = love.filesystem.read(filename)
assert(buf and buf ~= '')
app.eval(buf)
table.insert(files_to_load, filename)
end table.sort(files_to_load) for _,filename in ipairs(files_to_load) do local buf = love.filesystem.read(filename) assert(buf and buf ~= '') app.eval(buf)
end
table.sort(files_to_load)
for _,filename in ipairs(files_to_load) do
local buf = app.receive_from_driver()
local buf = app.receive()
function app.receive_from_driver() local f = io.open(love.filesystem.getUserDirectory()..'/_love_akkartik_driver_app')
function app.receive_from_driver()
local f = io.open(love.filesystem.getUserDirectory()..'/_love_akkartik_driver_app')
function app.receive() local f = io.open(love.filesystem.getAppdataDirectory()..'/_love_akkartik_driver_app')
function app.receive()
local f = io.open(love.filesystem.getAppdataDirectory()..'/_love_akkartik_driver_app')
local clear = io.open(love.filesystem.getUserDirectory()..'/_love_akkartik_driver_app', 'w')
local clear = io.open(love.filesystem.getAppdataDirectory()..'/_love_akkartik_driver_app', 'w')
function app.send_to_driver(msg) local f = io.open(love.filesystem.getUserDirectory()..'/_love_akkartik_app_driver', 'w')
function app.send_to_driver(msg)
local f = io.open(love.filesystem.getUserDirectory()..'/_love_akkartik_app_driver', 'w')
function app.send(msg) local f = io.open(love.filesystem.getAppdataDirectory()..'/_love_akkartik_app_driver', 'w')
function app.send(msg)
local f = io.open(love.filesystem.getAppdataDirectory()..'/_love_akkartik_app_driver', 'w')
print(msg) print(app.reset_terminal())endfunction app.send_run_time_error(msg) local f = io.open(love.filesystem.getAppdataDirectory()..'/_love_akkartik_app_driver_run_time_error', 'w') if f == nil then return end f:write(msg) f:close() print('=>'..app.color(0, --[[red]]1))
print(msg)
print(app.reset_terminal())
function app.send_run_time_error(msg)
local f = io.open(love.filesystem.getAppdataDirectory()..'/_love_akkartik_app_driver_run_time_error', 'w')
if f == nil then return end
f:write(msg)
f:close()
print('=>'..app.color(0, --[[red]]1))
app.send_to_driver(json.encode(app.Manifest))
app.send(json.encode(app.Manifest))
app.send_to_driver(app.get_binding(binding))
app.send(app.get_binding(binding))
app.send_to_driver('ERROR '..tostring(err))
app.send('ERROR '..tostring(err))
app.send('ok')
app.send_to_driver('ERROR '..stack_trace)
app.send_run_time_error(stack_trace)
buf = app.receive_from_driver()
buf = app.receive()