parent
5f9fac7850
commit
daacbe3cff
|
@ -898,12 +898,12 @@ bool MainWindow::copyIcon()
|
||||||
bool ok = true;
|
bool ok = true;
|
||||||
std::error_code err;
|
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;
|
std::filesystem::path dst_path;
|
||||||
switch ( this->OS ) {
|
switch ( this->OS ) {
|
||||||
case 1:
|
case 1:
|
||||||
// unix
|
// unix
|
||||||
dst_path = "/usr/share/icons/logdoctor.svg";
|
dst_path = "/usr/share/LogDoctor/LogDoctor.svg";
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
// windows
|
// windows
|
||||||
|
|
|
@ -76,7 +76,7 @@ private:
|
||||||
const unsigned int OS = 1;
|
const unsigned int OS = 1;
|
||||||
const std::filesystem::path exec_path = "/usr/bin";
|
const std::filesystem::path exec_path = "/usr/bin";
|
||||||
const std::filesystem::path conf_path = home_path + "/.config/LogDoctor";
|
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
|
#else
|
||||||
#error "System not supported"
|
#error "System not supported"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue