From 8e371a263d0ee579202b70676b175aa75e5a7b57 Mon Sep 17 00:00:00 2001 From: LW Date: Sat, 26 Aug 2017 16:57:40 -0700 Subject: [PATCH] Updated textmode fix to always run the GUI under Windows --- client/proxmark3.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/proxmark3.c b/client/proxmark3.c index 374c0feb..956eb6a8 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -274,6 +274,10 @@ int main(int argc, char* argv[]) { pthread_mutex_init(&print_lock, NULL); #ifdef HAVE_GUI +#ifdef _WIN32 + InitGraphics(argc, argv, script_cmds_file, usb_present); + MainGraphics(); +#else char* display = getenv("DISPLAY"); if (display && strlen(display) > 1) @@ -285,6 +289,7 @@ int main(int argc, char* argv[]) { { main_loop(script_cmds_file, usb_present); } +#endif #else main_loop(script_cmds_file, usb_present); #endif