From 560a677f50c357121741d07662877fcbdd3dd8e3 Mon Sep 17 00:00:00 2001 From: Felipe Martin Garcia Date: Wed, 23 Feb 2022 19:00:16 +0100 Subject: [PATCH] fix: trying to mkdir over an incorrect data path (#378) --- internal/cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/root.go b/internal/cmd/root.go index 41273a3e7..04d78bf43 100644 --- a/internal/cmd/root.go +++ b/internal/cmd/root.go @@ -91,7 +91,7 @@ func getDataDir(portableMode bool) (string, error) { // Try to use platform specific app path userScope := apppaths.NewScope(apppaths.User, "shiori") - dataDir, err := userScope.DataPath("shiori.db") + dataDir, err := userScope.DataPath("") if err == nil { return dataDir, nil }