Skip to content

Commit

Permalink
Merge remote-tracking branch 'gh/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
uroni committed Jul 12, 2020
2 parents 64862ae + 690cd1c commit a7a5dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TrayIcon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void runCommand(std::string cmd, std::string arg1)
sudo_prefix = sudo_app + " ";
}
#ifdef __APPLE__
std::string clientexecutable = ExtractFilePath(BINDIR)+"/urbackupclientgui";
wxString clientexecutable = wxStandardPaths::Get().GetExecutablePath();
wxExecute(sudo_prefix +"\""+ clientexecutable +"\" "+cmd+(arg1.empty()?std::string():(" "+arg1)), wxEXEC_ASYNC, NULL, NULL);
#else
wxExecute(sudo_prefix + BINDIR "/urbackupclientgui "+cmd+(arg1.empty()?std::string():(" "+arg1)), wxEXEC_ASYNC, NULL, NULL);
Expand Down

0 comments on commit a7a5dfc

Please sign in to comment.