mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
add runtime option to hide console on windows
This commit is contained in:
1 parent
5b9a9bbc9a
commit
7832ab5d2a
3 files changed
+11
No files matched your search
@@ -252,6 +252,12 @@ int Abaddon::StartGTK() {
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
if (m_settings.GetSettings().HideConsole) {
|
||||
ShowWindow(GetConsoleWindow(), SW_HIDE);
|
||||
}
|
||||
#endif
|
||||
|
||||
// store must be checked before this can be called
|
||||
m_main_window->UpdateComponents();
|
||||
|
||||
|
||||
Reference in new issue
Block a user