变更初始

This commit is contained in:
2026-02-21 02:34:51 +08:00
parent 7134b61dc2
commit 0f9ea65066
27 changed files with 73 additions and 4635 deletions

View File

@@ -14,12 +14,13 @@ local supported_plats = {mingw = true, windows = true, linux = true, macosx = tr
-- 自动选择平台
if not supported_plats[target_plat] then
raise("Unsupported platform: " .. target_plat .. ". Supported platforms: mingw, windows, linux, macosx, switch")
os.exists(1)
end
-- 引入对应平台的配置文件
local platform_config_file = "platform/" .. target_plat .. ".lua"
if os.isfile(platform_config_file) then
includes(platform_config_file)
else