添加更多指令支持;

添加Form页面
This commit is contained in:
小白猿
2023-11-14 20:29:18 +08:00
parent 3c090e0e91
commit ba46b2e533
13 changed files with 693 additions and 21 deletions
+9
View File
@@ -23,6 +23,15 @@ namespace BarrageGrab
WinApi.SetConsoleCtrlHandler(cancelHandler, true);//捕获控制台关闭
WinApi.DisableQuickEditMode();//禁用控制台快速编辑模式
Console.Title = "抖音弹幕监听推送";
if(Appsetting.Current.HideConsole)
{
var hWnd = WinApi.FindWindow(null, Console.Title);
if (hWnd != IntPtr.Zero)
{
WinApi.ShowWindow(hWnd,WinApi.CmdShow.SW_HIDE);
}
}
bool exited = false;
AppRuntime.WssService.StartListen();