diff --git a/dirs/dirs.go b/dirs/dirs.go index ee28983..471dade 100644 --- a/dirs/dirs.go +++ b/dirs/dirs.go @@ -37,5 +37,5 @@ func UserConfig() string { } func UserData() string { - return path.Join(UserHome(), ".local", "mconnect") + return path.Join(UserHome(), ".local", "share", "mconnect") } diff --git a/dirs/dirs_test.go b/dirs/dirs_test.go index ee93dd5..c4952ce 100644 --- a/dirs/dirs_test.go +++ b/dirs/dirs_test.go @@ -25,5 +25,5 @@ func TestUserDirs(t *testing.T) { assert.Equal(t, dirs.UserCache(), "/home/foo/.cache/mconnect") assert.Equal(t, dirs.UserConfig(), "/home/foo/.config/mconnect") - assert.Equal(t, dirs.UserData(), "/home/foo/.local/mconnect") + assert.Equal(t, dirs.UserData(), "/home/foo/.local/share/mconnect") }