From daacbe3cffb7f8c0bb98fd45849c892da68769e8 Mon Sep 17 00:00:00 2001 From: Valentino Orlandi Date: Sun, 4 Dec 2022 11:55:12 +0100 Subject: [PATCH] Update Updated Linux/BSD paths --- installer/mainwindow.cpp | 4 ++-- installer/mainwindow.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/mainwindow.cpp b/installer/mainwindow.cpp index 242b72e..7803488 100644 --- a/installer/mainwindow.cpp +++ b/installer/mainwindow.cpp @@ -898,12 +898,12 @@ bool MainWindow::copyIcon() bool ok = true; std::error_code err; - const std::filesystem::path src_path = "installation_stuff/logdoctor.svg"; + const std::filesystem::path src_path = "installation_stuff/LogDoctor.svg"; std::filesystem::path dst_path; switch ( this->OS ) { case 1: // unix - dst_path = "/usr/share/icons/logdoctor.svg"; + dst_path = "/usr/share/LogDoctor/LogDoctor.svg"; break; case 2: // windows diff --git a/installer/mainwindow.h b/installer/mainwindow.h index 1ff4552..4585e70 100644 --- a/installer/mainwindow.h +++ b/installer/mainwindow.h @@ -76,7 +76,7 @@ private: const unsigned int OS = 1; const std::filesystem::path exec_path = "/usr/bin"; const std::filesystem::path conf_path = home_path + "/.config/LogDoctor"; - const std::filesystem::path data_path = home_path + "/.local/share/LogDoctor"; + const std::filesystem::path data_path = "/usr/share/LogDoctor"; #else #error "System not supported" #endif