Build self-contained macOS client and verify native beta path

This commit is contained in:
shen
2026-09-24 00:59:08 -07:00
parent 400973da11
commit a57c83dd71
12 changed files with 331 additions and 12 deletions
+5 -1
View File
@@ -32,7 +32,6 @@ func _ready() -> void:
# 启动 40250 原生 port 路径
func _start_port_route() -> void:
AssetPack.ensure()
if not (ClassDB.class_exists("Metin2PythonHost") and AssetRoot.pack_ready()):
printerr("[client] port 路由缺少 Metin2PythonHost 或 40250 Client/pack(%s)" % AssetRoot.client_path())
get_tree().quit(1)
@@ -52,3 +51,8 @@ func _start_port_route() -> void:
if err != "":
printerr("port: " + err)
get_tree().quit(1)
return
if OS.get_environment("MT_TEST_MODE") == "beta_probe":
var probe: Node = preload("res://beta_live_probe.gd").new()
probe.name = "BetaLiveProbe"
add_child(probe)