检测系统标识为Web

This commit is contained in:
ParticleG
2023-06-12 12:53:53 +08:00
parent 886adc3534
commit 1e76b8e533
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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