2 #include <msp/core/application.h>
12 const char *home = getenv("HOME");
18 Path get_user_data_dir(const string &)
20 return get_user_data_dir();
23 Path get_user_data_dir()
25 const string &appname = Application::get_name();
27 throw logic_error("no application name");
29 return get_home_dir()/("."+appname);