alroyso 1 năm trước cách đây
mục cha
commit
2b0b10c1e2
1 tập tin đã thay đổi với 0 bổ sung17 xóa
  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) {