diff --git a/Zenitha b/Zenitha index 3a1bfd2e..60b2aa7d 160000 --- a/Zenitha +++ b/Zenitha @@ -1 +1 @@ -Subproject commit 3a1bfd2e3efdd9b28e346a34ebb71c3f345c7d08 +Subproject commit 60b2aa7d8054857ece17dac38184a21cb5e265c5 diff --git a/conf.lua b/conf.lua index 5836c387..1e883ea2 100644 --- a/conf.lua +++ b/conf.lua @@ -11,7 +11,7 @@ if ShellOption.bootDisabled then return end -if love._os=='Web' then +if love['_os']=='Web' then local oldRead=love.filesystem.read love.filesystem[('read')]=function(name,size) if love.filesystem.getInfo(name) then return oldRead(name,size) end @@ -23,7 +23,7 @@ function love.conf(t) local mobile=love._os=='Android' or love._os=='iOS' local web=love._os=='Web' local msaa=4 - local portrait=false + local portrait=false ---@type boolean|nil local fs=love.filesystem fs.setIdentity(identity) diff --git a/shell.lua b/shell.lua index bda7cedc..011be06c 100644 --- a/shell.lua +++ b/shell.lua @@ -6,9 +6,10 @@ end local _require=require local require=simpRequire('Zenitha.') local rnd=math.random +AE=require'escape' +LOG=require'log' STRING=require'stringExtend' TABLE=require'tableExtend' -AE=require'escape' local stdout=io.stdout function write(text) @@ -17,7 +18,7 @@ function write(text) end local function sleep(time) if time<=0 then return end - if love._os=='Linux' then + if love['_os']=='Linux' then os.execute('sleep '..time) else local fin=os.clock()+time