In the process I also switched the semantics of App.open_for_reading and App.open_for_writing back to something similar to io.open, as they are in upstream lines.love.
JW7O3UZDMKOZSC4RPAOXLQ4J2IDSQT2FUSPY5U6YBAAPIFW4LHOQC
3GSGEHXSTYJLYCY5ZKHVHLAYL5ZUN6FPVZ52FZK5X3GZNRSCKI3QC
GQBUV2XOMEPMTXMPCBQWGGIUXGQDX77VTGPFIG6YT7G64ASOYHXQC
EGS44RTAG7JVLLEA4KH63MBZAD4O5HNRSJQIOC6SRKHUG3G56R6QC
3QNOKBFMKBGXBVJIRHR2444JRRMBTABHE4674NR3DT67RRM2X6GAC
if love.filesystem.getInfo(Directory..prefix, 'file') then
if file_exists(Directory..prefix) then
result:open('r') return result
result:open('r')
return result
local ok, err = result:open('r') if ok then return result else return ok, err end
local ok, err = result:open('r')
if ok then
else
return ok, err
end
result:open('w') return result
result:open('w')
local ok, err = result:open('w') if ok then return result else return ok, err end
local ok, err = result:open('w')