소스 검색

add:调整mklfs命令

Dozingfiretruck 4 년 전
부모
커밋
8fed0a5d10
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      xmake.lua

+ 2 - 2
xmake.lua

@@ -269,9 +269,9 @@ target("air10x")
         if is_mode("debug") then
             os.cd("./mklfs")
             os.exec("./luac_536_32bits.exe -s -o ./disk/main.luac ../main.lua")
-            os.exec("./mklfs.exe")
+            os.exec("./mklfs.exe -size 112")
             os.cd("../")
-            os.mv("./mklfs/script.bin", "$(buildir)/out/script.bin")
+            os.mv("./mklfs/disk.fs", "$(buildir)/out/script.bin")
             if TARGET_NAME == "AIR101" then
                 os.exec("./tools/xt804/wm_tool"..(is_plat("windows") and ".exe" or "").." -b  $(buildir)/out/script.bin -it 1 -fc 0 -ih 20008000 -ra 81E0000 -ua 0 -nh 0  -un 0 -o $(buildir)/out/script")
             else