From bbfde27a1b1627f2e51f5f32014d07d2c95e6f94 Mon Sep 17 00:00:00 2001 From: Bert van der Weerd Date: Tue, 16 Nov 2021 10:41:23 +0000 Subject: [PATCH] Add CONTRIBUTING --- CONTRIBUTING.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..5fc67f1 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,31 @@ +Compiling +--------- + +To compile on Windows, you need to: + +* Install Mozilla build setup tools: [here](). +* Install Microsoft visual studio community edition [here](). +* Within Visual Studio, setup the Blah API. + +* Open start-shell terminal and basically do the following: +``` +wget -q "https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py" +python3 bootstrap.py --no-interactive --application-choice=browser +``` +If you choose to, you can now build Firefox Nightly as follows: +``` +cd mozilla-unified +./mach build +./mach package +./mach run # or just run it.. +``` +Or you can just forget about that, and remove the firefox tree: +``` +rm -rf bootstrap.py mozilla-unified +``` +To build the current windows setup.exe, we do the following: +``` +git clone --recursive https://gitlab.com/librewolf-community/browser/windows.git +cd windows +./build.py all +```