OS X系统名称字符串强制改为macOS close #513

This commit is contained in:
MrZ626
2021-11-30 12:25:59 +08:00
parent 58f05e1cec
commit 962a61567a
2 changed files with 1 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ VERSION=require"version"
TIME=love.timer.getTime
YIELD=coroutine.yield
SYSTEM=love.system.getOS()
if SYSTEM=='OS X'then SYSTEM='macOS'end
FNSF=SYSTEM:find'\79\83'--What does FNSF stand for? IDK so don't ask me lol
MOBILE=SYSTEM=='Android'or SYSTEM=='iOS'
SAVEDIR=fs.getSaveDirectory()