make user.js on build

This commit is contained in:
qvqc 2021-03-20 10:30:00 -04:00
parent 3c6824bad2
commit 7cb4822831
No known key found for this signature in database
GPG Key ID: 9EB04103C6BE892D
4 changed files with 12 additions and 0 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "external/hosts"]
path = external/hosts
url = https://github.com/StevenBlack/hosts
[submodule "external/user.js"]
path = external/user.js
url = https://github.com/pyllyukko/user.js

View File

@ -4,6 +4,12 @@ buildHash=$(git rev-parse --short HEAD)
##update submodules
git submodule update --init --recursive
##add locked_user.js from pyllyukko/user.js
cd external/user.js
make locked_user.js
cp locked_user.js ../../include/usr/lib/firefox/mozilla.cfg
cd ../..
##add hosts from stevenblack/hosts
cp external/hosts/hosts include/etc/hosts

1
external/user.js vendored Submodule

@ -0,0 +1 @@
Subproject commit d6ce4ebf9e30e846b9e383384f7a20d121fb4030

View File

@ -0,0 +1,2 @@
pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");