-
Notifications
You must be signed in to change notification settings - Fork 2
/
change-application-defaults.patch
24 lines (22 loc) · 1.33 KB
/
change-application-defaults.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description:
Attach the boinc process to boincmgr so that nothing runs in the background unintentionally
Launch the advanced GUI to avoid a broken simple GUI (https://github.com/BOINC/boinc/issues/3415)
diff a/clientgui/BOINCGUIApp.cpp b/clientgui/BOINCGUIApp.cpp
--- a/clientgui/BOINCGUIApp.cpp
+++ b/clientgui/BOINCGUIApp.cpp
@@ -226,7 +226,7 @@ bool CBOINCGUIApp::OnInit() {
// Restore Application State
m_pConfig->SetPath(wxT("/"));
- m_pConfig->Read(wxT("AutomaticallyShutdownClient"), &m_iShutdownCoreClient, 0L);
+ m_pConfig->Read(wxT("AutomaticallyShutdownClient"), &m_iShutdownCoreClient, 1L);
m_pConfig->Read(wxT("DisplayShutdownClientDialog"), &m_iDisplayExitDialog, 1L);
m_pConfig->Read(wxT("DisplayShutdownConnectedClientDialog"), &m_iDisplayShutdownConnectedClientDialog, 1L);
m_pConfig->Read(wxT("DisplayAnotherInstanceRunningDialog"), &m_iDisplayAnotherInstanceRunningDialog, 1L);
@@ -254,7 +254,7 @@ bool CBOINCGUIApp::OnInit() {
}
#endif
m_pConfig->Read(wxT("UseDefaultLocale"), &m_bUseDefaultLocale, bUseDefaultLocaleDefault);
- m_pConfig->Read(wxT("GUISelection"), &m_iGUISelected, BOINC_SIMPLEGUI);
+ m_pConfig->Read(wxT("GUISelection"), &m_iGUISelected, BOINC_ADVANCEDGUI);
m_pConfig->Read(wxT("EventLogOpen"), &bOpenEventLog);
m_pConfig->Read(wxT("RunDaemon"), &m_bRunDaemon, 1L);