mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 06:35:57 -05:00
Set cwd to appdir, so relative logfiles work.
This commit is contained in:
parent
9e648abd61
commit
b925279bb2
@ -32,6 +32,7 @@ Application::Application()
|
||||
: m_dlg(NULL), m_server_events(&m_icon)
|
||||
{
|
||||
CDosPath path = CDosPath::AppPath();
|
||||
SetCurrentDirectory(path.GetPath());
|
||||
CDosPath filename(_T("mt-daapd.conf"));
|
||||
filename |= path;
|
||||
m_config_path = filename.GetPath();
|
||||
|
Loading…
Reference in New Issue
Block a user