profiles/discord: fix css-toggler plugin

This commit is contained in:
Infinidoge 2021-11-12 20:28:08 -05:00
parent 76ba83e1df
commit d12b576488
3 changed files with 27 additions and 2 deletions

View file

@ -0,0 +1,13 @@
diff --git a/constants.js b/constants.js
index 6bc4317..2ae4b55 100644
--- a/constants.js
+++ b/constants.js
@@ -11,7 +11,7 @@ module.exports = Object.freeze({
ERROR: 0xED4245,
SUCCESS: 0x3BA55C
},
- CACHE_FOLDER: join(__dirname, '.cache'),
+ CACHE_FOLDER: join("/home/infinidoge/.config", "powercord", 'css-toggler-cache'),
MAX_SNIPPET_TITLE_LENGTH: 32,
MAX_SNIPPET_DESCRIPTION_LENGTH: 120,
DEFAULT_SNIPPET_TITLE: 'Untitled Snippet'