winemenubuilder: Create xdg_config_dir if it does not exist.
This commit is contained in:
parent
704f9ea5d1
commit
2fde3c0f7b
|
@ -1708,6 +1708,7 @@ static BOOL init_xdg(void)
|
|||
xdg_config_dir = heap_printf("%s/.config/menus/applications-merged", getenv("HOME"));
|
||||
if (xdg_config_dir)
|
||||
{
|
||||
create_directories(xdg_config_dir);
|
||||
if (getenv("XDG_DATA_HOME"))
|
||||
xdg_data_dir = heap_printf("%s", getenv("XDG_DATA_HOME"));
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue