Updated Linux/BSD paths
This commit is contained in:
Valentino Orlandi 2022-12-04 11:55:12 +01:00
parent 5f9fac7850
commit daacbe3cff
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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