Skip to content

Commit 92a3ec3

Browse files
authored
Merge pull request #6893 from BOINC/vko_fix_single_instance_checker_on_linux
Fix duplicate running manager instance checker on Linux
2 parents f877614 + 10b1e8c commit 92a3ec3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

clientgui/BOINCGUIApp.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This file is part of BOINC.
22
// https://boinc.berkeley.edu
3-
// Copyright (C) 2025 University of California
3+
// Copyright (C) 2026 University of California
44
//
55
// BOINC is free software; you can redistribute it and/or modify it
66
// under the terms of the GNU Lesser General Public License
@@ -856,6 +856,11 @@ bool CBOINCGUIApp::DetectDuplicateInstance() {
856856
wxTheApp->GetAppName() + '-' + wxGetUserId(),
857857
wxFileName::GetHomeDir() + "/Library/Application Support/BOINC"
858858
);
859+
#elif defined(__WXGTK__)
860+
m_pInstanceChecker = new wxSingleInstanceChecker(
861+
wxTheApp->GetAppName() + '-' + wxGetUserId(),
862+
wxFileName::GetTempDir()
863+
);
859864
#else
860865
m_pInstanceChecker = new wxSingleInstanceChecker();
861866
#endif

0 commit comments

Comments
 (0)