From d157e81599aeee75bdb5e4e47426384d5ab16a40 Mon Sep 17 00:00:00 2001 From: David Florness Date: Wed, 5 Aug 2020 15:29:54 -0600 Subject: [PATCH] Store election data in data dir instead of config dir --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 2fc9070..efca472 100644 --- a/config.go +++ b/config.go @@ -14,7 +14,7 @@ import ( // where cached election info is stored var ( - tallyardConfigPath = path.Join(xdg.ConfigHome(), "tallyard") + tallyardConfigPath = path.Join(xdg.DataHome(), "tallyard") electionInfoFilePath = path.Join(tallyardConfigPath, "elections.json") ) -- 2.38.4