mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 05:59:45 -05:00
Set cwd to appdir, so relative logfiles work.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user