mirror of
https://github.com/nmasur/dotfiles
synced 2026-02-05 09:59:46 +00:00
fix add-on manifest
This commit is contained in:
@@ -16,7 +16,10 @@
|
||||
},
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "firefox-history-exporter@nmasur.com"
|
||||
"id": "firefox-history-exporter@nmasur.com",
|
||||
"data_collection_permissions": {
|
||||
"required": ["none"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,13 +7,16 @@ pkgs.stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgs.zip ];
|
||||
|
||||
# We aren't building, just packaging
|
||||
dontUnpack = true;
|
||||
|
||||
buildCommand = ''
|
||||
installPhase = ''
|
||||
dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||
mkdir -p "$dst"
|
||||
(cd ${src}; zip "$dst/firefox-history-exporter@nmasur.com.xpi" manifest.json background.js popup.html popup.js)
|
||||
zip -j "$dst/firefox-history-exporter@nmasur.com.xpi" \
|
||||
"${src}/manifest.json" \
|
||||
"${src}/background.js" \
|
||||
"${src}/popup.html" \
|
||||
"${src}/popup.js"
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
|
||||
@@ -47,7 +47,7 @@ in
|
||||
vimium
|
||||
wappalyzer # TODO: only for work profile
|
||||
pkgs.nmasur.firefox-history-exporter
|
||||
copy-as-markdown
|
||||
# copy-as-markdown
|
||||
# saml-tracer
|
||||
# text-fragment
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user