mirror of
https://github.com/nmasur/dotfiles
synced 2026-02-05 13:29:45 +00:00
fix add-on manifest
This commit is contained in:
@@ -16,7 +16,10 @@
|
|||||||
},
|
},
|
||||||
"browser_specific_settings": {
|
"browser_specific_settings": {
|
||||||
"gecko": {
|
"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 ];
|
nativeBuildInputs = [ pkgs.zip ];
|
||||||
|
|
||||||
# We aren't building, just packaging
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
buildCommand = ''
|
installPhase = ''
|
||||||
dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||||
mkdir -p "$dst"
|
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; {
|
meta = with pkgs.lib; {
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ in
|
|||||||
vimium
|
vimium
|
||||||
wappalyzer # TODO: only for work profile
|
wappalyzer # TODO: only for work profile
|
||||||
pkgs.nmasur.firefox-history-exporter
|
pkgs.nmasur.firefox-history-exporter
|
||||||
copy-as-markdown
|
# copy-as-markdown
|
||||||
# saml-tracer
|
# saml-tracer
|
||||||
# text-fragment
|
# text-fragment
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user