|
@@ -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) {
|
|
|
|