Compare commits
No commits in common. "5183c68dd452294ac4024d32fc8a11879bba66ea" and "daacbe3cffb7f8c0bb98fd45849c892da68769e8" have entirely different histories.
5183c68dd4
...
daacbe3cff
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue