commit: edbbb27736db50534c9f0e029bc04f3f462596d3
parent 46ce59c9d63a8ab20117b5eb85afb52c0d6390a1
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 9 Apr 2021 08:47:01 +0200
Move filter directory information to manpage
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/badwolf.1 b/badwolf.1
@@ -89,6 +89,8 @@ For a converter using AblockPlus-style filters, try:
.Pp
For a ready-to-use file (that you should update periodically), try:
.Lk https://easylist-downloads.adblockplus.org/easylist_min_content_blocker.json
+.It Pa ${XDG_CACHE_HOME:-$HOME/.cache}/badwolf/filters
+This is where the compiled filters are stored, the file(s) in it are automatically generated and so shouldn't be edited.
.It Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/bookmarks.xbel
XBEL (XML Bookmark Exchange Language) file, known to be currently supported by:
.Xr elinks 1 ,
diff --git a/badwolf.c b/badwolf.c
@@ -1060,7 +1060,6 @@ main(int argc, char *argv[])
fprintf(stderr, _("content-filters file set to: %s\n"), contentFilterPath);
gchar *filtersPath = g_build_filename(g_get_user_cache_dir(), g_get_prgname(), "filters", NULL);
- fprintf(stderr, _("content-filters directory set to: %s\n"), filtersPath);
window->content_store = webkit_user_content_filter_store_new(filtersPath);
webkit_user_content_filter_store_save_from_file(window->content_store,