客户端问题修改
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
extends Node
|
||||
|
||||
const AppFlow = preload("res://app_flow.gd")
|
||||
const LiveSmokeTest = preload("res://live_smoke_test.gd")
|
||||
|
||||
func _ready() -> void:
|
||||
# 打包 app 从 Finder/open 启动时没有 shell 环境;40250 服务器使用 classic
|
||||
@@ -21,3 +22,8 @@ func _ready() -> void:
|
||||
af.name = "AppFlow"
|
||||
add_child(af)
|
||||
af.start(root)
|
||||
if OS.get_environment("MT_TEST_MODE") == "smoke":
|
||||
var smoke := LiveSmokeTest.new()
|
||||
smoke.name = "LiveSmokeTest"
|
||||
add_child(smoke)
|
||||
smoke.setup(af, af.client)
|
||||
|
||||
Reference in New Issue
Block a user