From 0955413329c11fc926bffacfdaa28522b9cf9c41 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Tue, 15 Jun 2021 16:01:58 -0400 Subject: [PATCH] Rename web_extensions to web-extensions --- Makefile | 4 ++-- man/chorizo-usage.1.scd | 2 +- man/chorizo.1.scd | 2 +- src/browser.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 8240e29..fe0f4ab 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ install: all mkdir -p $(bindir) \ $(mandir)/man1 \ $(mandir)/man5 \ - $(libdir)/chorizo/web_extensions \ + $(libdir)/chorizo/web-extensions \ $(datadir)/chorizo/user-scripts \ $(datadir)/applications \ $(docdir)/chorizo @@ -49,7 +49,7 @@ install: all cp man/*.5 $(mandir)/man5/ cp chorizo.ini $(docdir)/chorizo/ cp chorizo.desktop $(datadir)/applications/ - cp -r extensions/*.so $(libdir)/chorizo/web_extensions/ + cp -r extensions/*.so $(libdir)/chorizo/web-extensions/ cp -r user-scripts/* $(datadir)/chorizo/user-scripts/ uninstall: diff --git a/man/chorizo-usage.1.scd b/man/chorizo-usage.1.scd index a55d861..66b0639 100644 --- a/man/chorizo-usage.1.scd +++ b/man/chorizo-usage.1.scd @@ -46,7 +46,7 @@ _~/.local/share/chorizo/user-styles_, and be applied every time a page loads. The rules in these files override any rules provided by the website. # WEB EXTENSIONS -On startup, WebKit checks _~/.local/share/chorizo/web_extensions_ for any *.so* +On startup, WebKit checks _~/.local/share/chorizo/web-extensions_ for any *.so* files. See this blog post for further information on these extensions. diff --git a/man/chorizo.1.scd b/man/chorizo.1.scd index 5ff49f0..22dcf42 100644 --- a/man/chorizo.1.scd +++ b/man/chorizo.1.scd @@ -58,7 +58,7 @@ XDG variables will be used to construct these paths. *~/.local/share/chorizo/user-styles* Directory to store user-supplied CSS snippets. See *chorizo-usage*(1). -*~/.local/share/chorizo/web_extensions* +*~/.local/share/chorizo/web-extensions* Sets the directory where WebKit will look for web extensions. See *chorizo-usage*(1). diff --git a/src/browser.c b/src/browser.c index 276f396..3edab07 100644 --- a/src/browser.c +++ b/src/browser.c @@ -794,7 +794,7 @@ init_default_web_context(void) { WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES; webkit_web_context_set_process_model(wc, model); - p = g_build_filename(g_get_user_data_dir(), __NAME__, "web_extensions", + p = g_build_filename(g_get_user_data_dir(), __NAME__, "web-extensions", NULL); webkit_web_context_set_web_extensions_directory(wc, p); g_free(p); -- 2.39.2