修改了很多

This commit is contained in:
fengjiayi
2024-10-27 00:54:10 +08:00
parent 6f26d303e4
commit cb2553ac69
66 changed files with 2215 additions and 1402 deletions

View File

@@ -13,6 +13,11 @@ namespace Serein.FlowStartTool
{
public static void Main(string[] args)
{
#if true
args = [@"F:\临时\project\linux\project.dnf"];
#endif
Console.WriteLine("Hello :) ");
Console.WriteLine($"args : {string.Join(" , ", args)}");
string filePath;
@@ -57,10 +62,10 @@ namespace Serein.FlowStartTool
}
IsRuning = true;
StartFlow(flowProjectData, fileDataPath).GetAwaiter().GetResult();
_ = StartFlow(flowProjectData, fileDataPath);
while (IsRuning)
{
Console.ReadKey();
}
}
@@ -88,13 +93,12 @@ namespace Serein.FlowStartTool
// this.window = window;
//}
Env = new FlowEnvironmentDecorator(uIContextOperation); // Linux 环境下没有线程上下文(暂时没有写)
Env = new FlowEnvironmentDecorator(uIContextOperation);
Env.LoadProject(new FlowEnvInfo { Project = flowProjectData }, fileDataPath); // 加载项目
await Env.StartRemoteServerAsync(7525); // 启动 web socket 监听远程请求
//await Env.StartAsync();
IsRuning = false;
}