Updated Linux/BSD paths
This commit is contained in:
Valentino Orlandi 2022-12-04 11:56:06 +01:00
parent fb31038a60
commit 5229e64309
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
2 changed files with 2 additions and 2 deletions

View File

@ -600,7 +600,7 @@ bool MainWindow::removeIcon()
switch ( this->OS ) {
case 1:
// unix
p = "/usr/share/icons/logdoctor.svg";
p = "/usr/share/LogDoctor/LogDoctor.svg";
if ( std::filesystem::exists( p ) ) { // !!! remove later
// menu entry exists, plan remove it
remove = true;

View File

@ -75,7 +75,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