Change log file directory.
This commit is contained in:
parent
11572d5b29
commit
18f8600174
|
@ -48,12 +48,13 @@ void init()
|
|||
path = helpers::get_env("HOME");
|
||||
if (!path.empty())
|
||||
{
|
||||
path /= ".local/state";
|
||||
path /= ".local";
|
||||
path /= "state";
|
||||
}
|
||||
}
|
||||
if (!path.empty())
|
||||
{
|
||||
return path /= "epubgrep.log";
|
||||
return (path /= "epubgrep") /= "epubgrep.log";
|
||||
}
|
||||
return fs::path{};
|
||||
}()};
|
||||
|
|
Loading…
Reference in New Issue
Block a user