From b98739ca84501ba2f84095af3b3a72d6f41d14ed Mon Sep 17 00:00:00 2001 From: bug Date: Sun, 18 Oct 2026 02:30:57 -0500 Subject: [PATCH] Lowercase name, key icon --- README.md | 2 +- build/default.nix | 2 +- extension/background.js | 2 +- extension/content.js | 2 +- extension/key-dark.svg | 1 + extension/key-light.svg | 1 + extension/manager.html | 6 ++--- extension/manifest.json | 60 +++++++++++++++++++++++++++++++++++------ 8 files changed, 61 insertions(+), 15 deletions(-) create mode 100644 extension/key-dark.svg create mode 100644 extension/key-light.svg diff --git a/README.md b/README.md index 9c425b9..989600a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# BugPass +# bugpass LessPass-compatible password generator for Firefox/LibreWolf. Passwords are derived, never stored; a native messaging host stores only site profiles diff --git a/build/default.nix b/build/default.nix index 326ce3a..65d7ba0 100644 --- a/build/default.nix +++ b/build/default.nix @@ -37,7 +37,7 @@ in { install -Dm755 ${pkgs.writeScript "bugpass-host" "#!${pkgs.python3}/bin/python3\n${builtins.readFile ./host.py}"} $out/bin/bugpass-host mkdir -p $out/lib/mozilla/native-messaging-hosts cat > $out/lib/mozilla/native-messaging-hosts/bugpass.json < diff --git a/extension/key-light.svg b/extension/key-light.svg new file mode 100644 index 0000000..6fc8d2b --- /dev/null +++ b/extension/key-light.svg @@ -0,0 +1 @@ + diff --git a/extension/manager.html b/extension/manager.html index 8048fa7..7536adf 100644 --- a/extension/manager.html +++ b/extension/manager.html @@ -2,13 +2,13 @@ - BugPass + bugpass
- BugPass + bugpass
@@ -52,7 +52,7 @@
- Unlock BugPass + Unlock bugpass
diff --git a/extension/manifest.json b/extension/manifest.json index 38d6280..8452d7d 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -1,12 +1,56 @@ { "manifest_version": 2, - "name": "BugPass", - "version": "2.1", + "name": "bugpass", + "version": "2.2", "description": "Stateless LessPass-compatible password manager", - "browser_specific_settings": { "gecko": { "id": "bugpass@local" } }, - "permissions": ["nativeMessaging", "tabs", "clipboardRead", "clipboardWrite", "theme"], - "background": { "page": "background.html" }, - "browser_action": { "default_title": "BugPass", "default_popup": "popup.html" }, - "content_scripts": [{ "matches": [""], "js": ["content.js"], "run_at": "document_idle" }], - "web_accessible_resources": ["autofill.html"] + "browser_specific_settings": { + "gecko": { + "id": "bugpass@local" + } + }, + "permissions": [ + "nativeMessaging", + "tabs", + "clipboardRead", + "clipboardWrite", + "theme" + ], + "background": { + "page": "background.html" + }, + "browser_action": { + "default_title": "bugpass", + "default_popup": "popup.html", + "default_icon": "key-dark.svg", + "theme_icons": [ + { + "light": "key-light.svg", + "dark": "key-dark.svg", + "size": 16 + }, + { + "light": "key-light.svg", + "dark": "key-dark.svg", + "size": 32 + } + ] + }, + "content_scripts": [ + { + "matches": [ + "" + ], + "js": [ + "content.js" + ], + "run_at": "document_idle" + } + ], + "web_accessible_resources": [ + "autofill.html" + ], + "icons": { + "48": "key-dark.svg", + "96": "key-dark.svg" + } }