alroyso 1 年之前
父節點
當前提交
2b0b10c1e2
共有 1 個文件被更改,包括 0 次插入17 次删除
  1. 0 17
      windows/runner/main.cpp

+ 0 - 17
windows/runner/main.cpp

@@ -5,23 +5,6 @@
 #include "flutter_window.h"
 #include "utils.h"
 #include <protocol_handler/protocol_handler_plugin.h>
-
-// 展示控制台
-void ShowConsole() {
-  HWND hWnd = ::GetConsoleWindow();
-  if (hWnd != NULL) {
-    ::ShowWindow(hWnd, SW_SHOW);
-  }
-}
-
-// 隐藏控制台
-void HideConsole() {
-  HWND hWnd = ::GetConsoleWindow();
-  if (hWnd != NULL) {
-    ::ShowWindow(hWnd, SW_HIDE);
-  }
-}
-
 int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
                       _In_ wchar_t *command_line, _In_ int show_command) {