Skip to content
Snippets Groups Projects
Verified Commit ba13fa7f authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

Bug 40754: Provide uBlock Origin to Privacy Browser

parent 87db400a
Branches
Tags
1 merge request!631Bug 40742: Add Privacy Browser targets
......@@ -63,6 +63,9 @@ done
[% END -%]
mv [% c('input_files_by_name/noscript') %] "$TBDIR/$EXTSPATH/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi"
[% IF c("var/privacy-browser") -%]
mv [% c('input_files_by_name/ublock-origin') %] "$TBDIR/$EXTSPATH/uBlock0@raymondhill.net.xpi"
[% END -%]
[% IF !c("var/macos") && c("var/tor-browser") -%]
cp "$TBDIR/$EXTSPATH/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi" "$TBDIR/$PROFILEPATH/"
[% END %]
......@@ -293,10 +296,11 @@ done
# mozpack.mozjar.JarReaderError: Central directory and file header mismatch. Corrupted archive?
#
# See https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/issues/40439#note_2838724
mv "$TBDIR/$EXTSPATH/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi" $rootdir/ns.xpi
mkdir $rootdir/extensions
mv "$TBDIR/$EXTSPATH/"* $rootdir/extensions
MOZ_AUTOMATION=1 $firefox_src/mach python $firefox_src/toolkit/mozapps/installer/unify.py "$TBDIR" "$TBDIR_AARCH64"
mkdir -p "$TBDIR/$EXTSPATH"
mv $rootdir/ns.xpi "$TBDIR/$EXTSPATH/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi"
mv $rootdir/extensions/* "$TBDIR/$EXTSPATH/"
rm -Rf "$TBDIR_AARCH64"
[% END -%]
......
......@@ -106,6 +106,10 @@ input_files:
- URL: https://addons.mozilla.org/firefox/downloads/file/4050735/noscript-11.4.14.xpi
name: noscript
sha256sum: 14af6a3cbc269c045f2d950e1e4f7c29981b35a7abc61d2413f5bb8bd7311857
- URL: https://addons.mozilla.org/firefox/downloads/file/4047353/ublock_origin-1.46.0.xpi
name: ublock-origin
sha256sum: 6bf8af5266353fab5eabdc7476de026e01edfb7901b0430c5e539f6791f1edc8
enable: '[% c("var/privacy-browser") %]'
- filename: 'gtk3-settings.ini'
enable: '[% c("var/linux") %]'
- project: hfsplus-tools
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment