检测系统标识为Web
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -298,7 +298,7 @@ jobs:
|
||||
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
# needs: [get-info, build-core, auto-test]
|
||||
needs: [get-info, build-core, auto-test]
|
||||
if: ${{ !always() }}
|
||||
env:
|
||||
OUTPUT_FOLDER: ./build
|
||||
|
||||
2
conf.lua
2
conf.lua
@@ -2,7 +2,7 @@ SYSTEM=love._os if SYSTEM=='OS X' then SYSTEM='macOS' end
|
||||
MOBILE=SYSTEM=='Android' or SYSTEM=='iOS'
|
||||
FNNS=SYSTEM:find'\79\83'-- What does FNSF stand for? IDK so don't ask me lol
|
||||
|
||||
if SYSTEM=='Linux' then
|
||||
if SYSTEM=='Web' then
|
||||
local oldRead=love.filesystem.read
|
||||
function love.filesystem.read(name,size)
|
||||
if love.filesystem.getInfo(name) then
|
||||
|
||||
Reference in New Issue
Block a user