From 657ca0b948fe2915bab056081c5494fe089f7afc Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 29 Jan 2023 18:30:05 +0100 Subject: wrap lines in user script editor + show refold-tools version in yomichan info --- yomichan/makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'yomichan/makefile') diff --git a/yomichan/makefile b/yomichan/makefile index f1ef964..f0285e5 100644 --- a/yomichan/makefile +++ b/yomichan/makefile @@ -31,8 +31,11 @@ yomichan/manifest.json.bak: yomichan/search.html.bak: cp yomichan/search.html $@ +info.html.diff: info.html.diff.m4 + yomichan/search.html.patched: search.html.diff yomichan/settings.html.patched: settings.html.diff +yomichan/info.html.patched: info.html.diff yomichan/manifest.json.patched: yomichan/manifest.json.bak jq '.content_scripts[0].js[.content_scripts[0].js | length] |= .+ "js/userscript-loader.js"' $< |\ jq '.content_security_policy |= .+ "'"; script-src 'self' 'unsafe-eval'"'"' |\ @@ -43,6 +46,7 @@ backup: download backup: yomichan/manifest.json.bak backup: yomichan/search.html.bak backup: yomichan/settings.html.bak +backup: yomichan/info.html.bak patch: backup patch: yomichan/js/userscript-loader.js patch: yomichan/images/script.svg @@ -50,12 +54,14 @@ patch: yomichan/css/userscript-settings.css patch: yomichan/search.html.patched patch: yomichan/settings.html.patched patch: yomichan/manifest.json.patched +patch: yomichan/info.html.patched patch: mv yomichan/search.html.patched yomichan/search.html mv yomichan/settings.html.patched yomichan/settings.html + mv yomichan/info.html.patched yomichan/info.html mv yomichan/manifest.json.patched yomichan/manifest.json -yomichan-chrome-patched.zip: patch +yomichan-chrome-patched.zip: clean patch zip -qr $@ yomichan clean: -- cgit v1.2.3