框架跟进
This commit is contained in:
Submodule Zframework updated: 9532472013...d0b485abdb
10
conf.lua
10
conf.lua
@@ -1,9 +1,9 @@
|
|||||||
SYSTEM=love._os
|
local OS=love._os
|
||||||
if SYSTEM=='OS X' then SYSTEM='macOS' end
|
if OS=='OS X' then OS='macOS' end
|
||||||
MOBILE=SYSTEM=='Android' or SYSTEM=='iOS'
|
MOBILE=OS=='Android' or OS=='iOS'
|
||||||
FNNS=SYSTEM:find'\79\83' -- What does FNSF stand for? IDK so don't ask me lol
|
FNNS=OS:find'\79\83' -- What does FNSF stand for? IDK so don't ask me lol
|
||||||
|
|
||||||
if SYSTEM=='Web' then
|
if OS=='Web' then
|
||||||
local oldRead=love.filesystem.read
|
local oldRead=love.filesystem.read
|
||||||
function love.filesystem.read(name,size)
|
function love.filesystem.read(name,size)
|
||||||
if love.filesystem.getInfo(name) then
|
if love.filesystem.getInfo(name) then
|
||||||
|
|||||||
Reference in New Issue
Block a user