Compare commits
11 Commits
5183c68dd4
...
96cd211988
Author | SHA1 | Date |
---|---|---|
Valentino Orlandi | 96cd211988 | |
Valentino Orlandi | ef3d8a40e7 | |
Valentino Orlandi | 0b3fb7c6b6 | |
Valentino Orlandi | 3ae7c02e50 | |
Valentino Orlandi | 68bcd41c60 | |
Valentino Orlandi | 1a49f9d0b8 | |
Valentino Orlandi | 3397592442 | |
Valentino Orlandi | fbc8fb80f2 | |
Valentino Orlandi | b91535735a | |
Valentino Orlandi | a920c5508c | |
Valentino Orlandi | 1a1b517f16 |
|
@ -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