Make port configurable

This commit is contained in:
Changhua
2023-04-08 22:52:35 +08:00
parent dd02c4b6ff
commit b643f92681
8 changed files with 33 additions and 35 deletions
+2 -1
View File
@@ -107,7 +107,8 @@ namespace launcher {
private: System::Void Start_Click(System::Object^ sender, System::EventArgs^ e) {
this->Start->Enabled = false;
this->Stop->Enabled = true;
WxInitSDK(true, "tcp://0.0.0.0:10086");
int port = 10086;
WxInitSDK(true, port);
}
private: System::Void Stop_Click(System::Object^ sender, System::EventArgs^ e) {
this->Stop->Enabled = false;