summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/popup-bin/CMakeLists.txt1
-rw-r--r--src/ui/popup-runner.cpp4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/popup-bin/CMakeLists.txt b/src/ui/popup-bin/CMakeLists.txt
index a8bddfa..2b89d2f 100644
--- a/src/ui/popup-bin/CMakeLists.txt
+++ b/src/ui/popup-bin/CMakeLists.txt
@@ -22,6 +22,7 @@
PKG_CHECK_MODULES(CERT_CHECKER_POPUP_DEP
elementary
libsystemd-journal
+ libtzplatform-config
REQUIRED)
set(CERT_CHECKER_POPUP_SRC_DIR ${PROJECT_SOURCE_DIR}/src/ui/popup-bin)
diff --git a/src/ui/popup-runner.cpp b/src/ui/popup-runner.cpp
index 6411558..2004e05 100644
--- a/src/ui/popup-runner.cpp
+++ b/src/ui/popup-runner.cpp
@@ -27,6 +27,8 @@
#include <sys/types.h>
#include <sys/wait.h>
+#include <tzplatform_config.h>
+
#include <cchecker/app.h>
#include <cchecker/logic.h>
#include <cchecker/log.h>
@@ -37,7 +39,7 @@ namespace { // anonymous
using namespace CCHECKER::UI;
-const char *POPUP_EXEC = "/usr/bin/cert-checker-popup"; // check-checker-popup binary
+const char *POPUP_EXEC = tzplatform_mkpath(TZ_SYS_BIN, "cert-checker-popup"); // check-checker-popup binary
std::string response_to_str (response_e response)
{