1 #include <msp/core/application.h>
2 #include <msp/core/environ.h>
3 #include <msp/core/except.h>
13 string home = getenv("HOME");
19 Path get_user_data_dir()
21 const string &appname = Application::get_name();
23 throw invalid_state("no application name");
25 return get_home_dir()/("."+appname);