Compare commits

..

212 commits

Author SHA1 Message Date
Bert van der Weerd
5cc029bd41
Update file README.md 2023-04-30 15:00:06 +02:00
Bert van der Weerd
9f347e1fa9
Update file README.md 2023-04-30 14:22:40 +02:00
stanzabird
531d6d5d8a Update file README.md 2023-04-30 12:19:55 +00:00
Bert van der Weerd
264e65b71a
Thu Apr 20 10:55:46 AM CEST 2023 2023-04-20 10:55:46 +02:00
Bert van der Weerd
855ab1b658
archived attic/librewolf-portable 2023-04-20 10:53:50 +02:00
Bert van der Weerd
9ff7404248
Thu Apr 20 10:51:12 AM CEST 2023 2023-04-20 10:51:12 +02:00
Bert van der Weerd
b8eb667f83
big cleanup 2023-04-20 10:49:40 +02:00
Bert van der Weerd
36da860f4b
Thu Apr 20 10:25:52 AM CEST 2023 2023-04-20 10:25:52 +02:00
Bert van der Weerd
69ef35c946
Thu Apr 20 10:25:43 AM CEST 2023 2023-04-20 10:25:43 +02:00
Guillaume
dafc371cf5 Update README.md to correct the information about the AutoHotkey scripts (LW Portable and WinUpdater) 2023-04-11 20:16:28 +00:00
Bert van der Weerd
70b155aca4
Fri Feb 24 07:29:33 PM CET 2023 2023-02-24 19:29:33 +01:00
Bert van der Weerd
7cc528056c
Fri Feb 24 07:24:59 PM CET 2023 2023-02-24 19:24:59 +01:00
Bert van der Weerd
c3af9a1a70
Fri Feb 24 06:50:08 PM CET 2023 2023-02-24 18:50:09 +01:00
Bert van der Weerd
38cb5b9e02
Fri Feb 24 06:14:14 PM CET 2023 2023-02-24 18:14:14 +01:00
Bert van der Weerd
b799f288ea
Fri Feb 24 05:48:01 PM CET 2023 2023-02-24 17:48:01 +01:00
Bert van der Weerd
d3e0b0661f
Fri Feb 24 05:24:46 PM CET 2023 2023-02-24 17:24:46 +01:00
Bert van der Weerd
0bd5407d46
Fri Feb 24 02:27:47 PM CET 2023 2023-02-24 14:27:47 +01:00
Bert van der Weerd
420f1540b7
Fri Feb 24 02:19:53 PM CET 2023 2023-02-24 14:19:53 +01:00
Bert van der Weerd
5fd44e22af
now using ohfp package method with curl 2023-02-18 22:00:00 +01:00
Bert van der Weerd
b3b007f171
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2023-02-17 19:56:00 +01:00
Bert van der Weerd
f4d764eb5e
fixups and winbuild/version update to v110.0-1 2023-02-17 19:55:52 +01:00
Bert van der Weerd
59547ac198 this builds for v110.0-1 2023-02-17 13:46:39 +01:00
Bert van der Weerd
1838a4cb18 fix 2023-02-17 10:23:03 +01:00
Bert van der Weerd
33336b6ac7
Fri Feb 17 10:14:49 AM CET 2023 2023-02-17 10:14:49 +01:00
Bert van der Weerd
5f1dfb584c
Fri Feb 17 09:26:49 AM CET 2023 2023-02-17 09:26:49 +01:00
Bert van der Weerd
a58e35af23
building natively under arch also fails 2023-02-17 08:54:13 +01:00
stanzabird
89efcf05ac fix 2023-02-16 21:03:05 +00:00
stanzabird
367b8a539c Update file Makefile 2023-02-16 21:02:29 +00:00
Bert van der Weerd
578c8fc99f
Thu Feb 16 09:50:45 PM CET 2023 2023-02-16 21:50:45 +01:00
stanzabird
bab3935d59 Update file Dockerfile 2023-02-16 20:38:47 +00:00
stanzabird
3ddf557f91 Update file Dockerfile 2023-02-16 20:32:37 +00:00
Bert van der Weerd
0fb55b6836
Thu Feb 16 09:26:41 PM CET 2023 2023-02-16 21:26:41 +01:00
stanzabird
70f74b8551 Update file Dockerfile 2023-02-16 20:08:28 +00:00
33821c6166
Revert all the stuff I changed 2023-02-16 11:11:34 +01:00
bbd7554753
Revert "test"
This reverts commit dd67d03258.
2023-02-16 00:44:01 +01:00
dd67d03258
test 2023-02-16 00:34:33 +01:00
654646ef5b
fix another lowercase path 2023-02-16 00:22:48 +01:00
98975b69ff
test 2023-02-16 00:12:29 +01:00
eeac2ffed7
fix (maybe) 2023-02-15 23:39:32 +01:00
8e3c9ccd09
linux64-liblowercase doesn't seem to be needed anymore 2023-02-15 18:41:34 +01:00
88bd02314a
fix download link 2023-02-15 18:28:21 +01:00
bbb00255ea
testing 2023-02-15 18:25:49 +01:00
Bert van der Weerd
5111065312
added buildsymbols target to resolve issue windows#217 2023-02-13 10:40:46 +01:00
Bert van der Weerd
8da4524d85
moved some more stuff to the target 2023-02-11 11:36:11 +01:00
Bert van der Weerd
746d573cf3
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2023-02-11 11:27:04 +01:00
Bert van der Weerd
e35f1aad69
first try on the ahk-tools 2023-02-11 11:26:56 +01:00
stanzabird
8fea42eb78 Added ahk-tools section 2023-02-11 10:19:23 +00:00
Bert van der Weerd
c8db5e4845
Thu Feb 9 12:08:09 AM CET 2023 2023-02-09 00:08:09 +01:00
Bert van der Weerd
f891157b95
fix merge conflict 2023-02-08 07:48:56 +01:00
Bert van der Weerd
dbb4d7ba66
lets no longer ignore the exit code from wineconsole and see if that improves the error log 2023-02-08 07:46:07 +01:00
stanzabird
7195223960 tryiing with curses backend 2023-02-08 04:51:28 +00:00
stanzabird
f3a1a4faa2 let's not check for executables 2023-02-07 22:01:06 +00:00
stanzabird
adfc097a38 remove win62 wine config dir 2023-02-07 21:07:32 +00:00
Bert van der Weerd
93965f80c8
Tue Feb 7 08:40:20 PM CET 2023 2023-02-07 20:40:20 +01:00
Bert van der Weerd
920e8cb424
Tue Feb 7 06:41:53 PM CET 2023 2023-02-07 18:41:53 +01:00
Bert van der Weerd
fca838f507
added check for existence of autohotkey executables 2023-02-07 15:11:12 +01:00
Bert van der Weerd
2f61f8e9e2
Tue Feb 7 02:39:05 PM CET 2023 2023-02-07 14:39:05 +01:00
Bert van der Weerd
8f61f1a1fb
removed icon parameters 2023-02-05 16:07:19 +01:00
Bert van der Weerd
91b0eaf892
just ignore wineconsole exit status for now 2023-02-04 12:59:25 +01:00
Bert van der Weerd
5086a71785
removed .ini from the portable zip 2023-02-03 16:53:16 +01:00
Bert van der Weerd
b10bbadf70
wine32 - 2023-02-03 11:42:26 +01:00
Bert van der Weerd
8e14a9f643
bump to v109.0-1 2023-01-17 14:25:04 +01:00
Bert van der Weerd
d70d906de8
added LibreWolf-WinUpdater.ini file to prevent update on first run 2023-01-17 13:01:32 +01:00
Bert van der Weerd
bc0c65f3df
Mon Jan 16 12:00:44 PM CET 2023 2023-01-16 12:00:44 +01:00
Bert van der Weerd
4c20e73711
Mon Jan 16 11:57:55 AM CET 2023 2023-01-16 11:57:55 +01:00
Bert van der Weerd
4b82f6e8d0
bump to upstream 108.0.2 2023-01-11 21:09:40 +01:00
Bert van der Weerd
e35068cf3d
Sun 18 Dec 2022 10:02:23 AM CET 2022-12-18 10:02:23 +01:00
Bert van der Weerd
45fe3129c9
Wed 14 Dec 2022 06:24:24 PM CET 2022-12-14 18:24:24 +01:00
Bert van der Weerd
ae482c3f6b
Sat 03 Dec 2022 04:48:05 PM CET 2022-12-03 16:48:05 +01:00
Bert van der Weerd
b48bef9ac5
bump to version 197.0-1 2022-11-18 09:46:45 +01:00
Bert van der Weerd
3118747d0b
bump to version 106.0.5-1 2022-11-05 16:13:10 +01:00
Bert van der Weerd
11864a2395
bump to version 106.0.4-1 2022-11-03 16:32:12 +01:00
Bert van der Weerd
705ec64d29
bump version v106.0.3-1 2022-11-01 10:36:20 +01:00
Bert van der Weerd
d276dc33d7
bump to 106.0.2 2022-10-30 15:22:43 +01:00
Bert van der Weerd
d19a684f80
remove testing flags 2022-10-22 14:34:33 +02:00
Bert van der Weerd
2001f3ddfd
testing 2022-10-21 18:40:01 +02:00
Bert van der Weerd
d74f63ae74
bump v106.0.1-1 2022-10-21 13:44:21 +02:00
Bert van der Weerd
27095a380e
add git pull command 2022-10-21 01:25:55 +02:00
Bert van der Weerd
1eae334021
using mozilla widl 2022-10-21 00:48:12 +02:00
Bert van der Weerd
2fee2fff19
now showing progress when downloading source tarball 2022-10-21 00:01:57 +02:00
Bert van der Weerd
aeb599e6a0
trying widl (emilio hint) 2022-10-20 23:54:11 +02:00
Bert van der Weerd
adce09fbe2
bump winbuild version 2022-10-20 23:33:24 +02:00
Bert van der Weerd
ea4a8b3243
revert debug build parameters 2022-10-09 12:42:19 +02:00
Bert van der Weerd
785e3a241d
debug CI 2022-10-09 11:23:53 +02:00
Bert van der Weerd
95045ac69a
removed --disable-verify-mar 2022-10-08 16:22:01 +02:00
Bert van der Weerd
67e8a14fd9
testing 2022-10-08 15:59:23 +02:00
Bert van der Weerd
c66ce4d63f
bump version to v105.0.3-1 2022-10-08 12:38:41 +02:00
Bert van der Weerd
0842264966
now the builds are in windows/winbuild 2022-10-07 20:49:51 +02:00
Bert van der Weerd
245ddc0d62
moved windows stuff to winbuild folder 2022-10-07 20:48:22 +02:00
Bert van der Weerd
266894f2f3
added docker related commands 2022-10-07 20:45:05 +02:00
Bert van der Weerd
b622286893
re-enable ac_add_options --disable_updater due to url-star-icon disappearing 2022-10-07 14:13:32 +02:00
Bert van der Weerd
8ca4ad7f31
bump version v105.0.2 2022-10-05 12:07:15 +02:00
Bert van der Weerd
af49869667
ditch this option 2022-10-01 15:30:53 +02:00
Bert van der Weerd
1b63561748
clean up linux*/assets/mozconifg 2022-10-01 15:17:38 +02:00
stanzabird
0bb1c40bdf fix unclear plugin distinction 2022-10-01 12:51:11 +00:00
Bert van der Weerd
cbae6e21a6
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-09-29 21:45:51 +02:00
Bert van der Weerd
72873723de
added .gitlab-ci.yaml for creating win64 branch 2022-09-29 21:45:42 +02:00
stanzabird
5125126dea Update linux-mar/assets/mozconfig 2022-09-29 00:08:05 +00:00
Bert van der Weerd
7e713025d6
improved tickets section 2022-09-28 23:09:39 +02:00
Bert van der Weerd
4225d3d785
removed uploading a release section 2022-09-28 23:00:21 +02:00
Bert van der Weerd
4a9aa95fd4
improved windows native section 2022-09-28 22:44:15 +02:00
Bert van der Weerd
6a06c9132a
cosmetics 2022-09-28 22:36:40 +02:00
Bert van der Weerd
1e05a22c03
moved all use-related stuff to the top 2022-09-28 21:59:06 +02:00
Bert van der Weerd
925db910be
removed community links 2022-09-28 21:54:07 +02:00
Bert van der Weerd
2232157ddf
more emphasis on auto-update plugins 2022-09-28 21:52:06 +02:00
Bert van der Weerd
95c8967a9c
depricate windows native builds 2022-09-28 21:42:00 +02:00
Bert van der Weerd
745124c791
remove help wanted section 2022-09-28 21:38:06 +02:00
Bert van der Weerd
75b604d472
bigger download link 2022-09-28 21:35:25 +02:00
Bert van der Weerd
d6b50bebf4
added blurb on Linux builds 2022-09-28 21:34:27 +02:00
Bert van der Weerd
445e09979e
adding --no-interactive when running mach to create vs tarball 2022-09-28 17:26:15 +02:00
Bert van der Weerd
50a02d8e11
added #244 to windows script 2022-09-27 09:30:12 +02:00
Bert van der Weerd
67b8a5b60d
fix typo 2022-09-27 09:23:15 +02:00
Bert van der Weerd
31fb023542
windows issue #244 2022-09-27 09:20:43 +02:00
Bert van der Weerd
bfcc829d87
added missing newline 2022-09-26 00:00:06 +02:00
Bert van der Weerd
f18a0b2393
fixed veryclean target 2022-09-25 23:54:40 +02:00
Bert van der Weerd
3c8a6d50dd
now also cleaning linux subfolders 2022-09-25 23:51:56 +02:00
Bert van der Weerd
d7f10406da
fixing mar artifact name 2022-09-25 23:42:01 +02:00
Bert van der Weerd
f84c661e1d
added wine package (for now) 2022-09-25 22:53:59 +02:00
Bert van der Weerd
78dcebb1eb
added wine as a dependency (for now) 2022-09-25 21:15:25 +02:00
Bert van der Weerd
dd49760cef
--disable-verify-mar 2022-09-25 21:10:28 +02:00
Bert van der Weerd
e4d87bb6ea
adding fetch target 2022-09-25 20:55:32 +02:00
Bert van der Weerd
61a6317a5f
added linux and linux-mar folders 2022-09-25 17:04:14 +02:00
Bert van der Weerd
7d48baebb8
v105.0.1-1 2022-09-24 09:32:14 +02:00
Bert van der Weerd
eb1a66e6bc
this stuff is missing from the theming 2022-09-23 13:52:48 +02:00
stanzabird
6ff3a792ef Update version 2022-09-22 14:07:21 +00:00
Bert van der Weerd
9a89e389fd
v104.0.2 2022-09-07 22:30:03 +02:00
stanzabird
0eefddf0f8 Update version 2022-08-27 10:26:53 +00:00
Bert van der Weerd
ea58161133
Changed README 2022-08-19 22:07:55 +02:00
Bert van der Weerd
37b33ea0ca
update to v103.0.2-1 2022-08-10 13:01:59 +02:00
Bert van der Weerd
c267440255
v103.0.1-2 2022-08-08 21:58:20 +02:00
Bert van der Weerd
19e72e78e8
prepare for v103.0.1-2 2022-08-08 21:45:34 +02:00
Bert van der Weerd
0df1ee885f
PWD on windows should not use cygwin paths 2022-08-08 21:29:36 +02:00
Bert van der Weerd
2976003f98
bump version for testing choco 2022-08-08 21:24:37 +02:00
Bert van der Weerd
df807b3ce7
restored absolute path to $PWD 2022-08-07 18:26:26 +02:00
Bert van der Weerd
6775213808
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-08-06 13:44:46 +02:00
Bert van der Weerd
15b76dfd61
removed chunk 3 2022-08-06 13:44:38 +02:00
stanzabird
90edceead9 Update source_release, version 2022-08-05 11:24:33 +00:00
Malte Jürgens
fb6eb3ab72 fix nsProcess issue 2022-07-31 18:11:35 +02:00
Malte Jürgens
34803dbebd revert changes 2022-07-31 18:11:15 +02:00
Bert van der Weerd
6e9b4c57c4
Sun 31 Jul 2022 09:34:39 AM CEST 2022-07-31 09:34:39 +02:00
Bert van der Weerd
a1339e613d
Sun 31 Jul 2022 08:27:08 AM CEST 2022-07-31 08:27:08 +02:00
Bert van der Weerd
7d208db7c4
Sat 30 Jul 2022 08:35:21 PM CEST 2022-07-30 20:35:21 +02:00
Bert van der Weerd
48b0e79d5b
v103.0-2 2022-07-28 22:54:53 +02:00
Bert van der Weerd
7e8675b828
Mon 25 Jul 2022 06:35:20 PM CEST 2022-07-25 18:35:20 +02:00
Bert van der Weerd
769f6c26f2
we dont need this anymore. revisit this later to set the right CONFIG[] 2022-07-25 18:13:59 +02:00
stanzabird
ee7cc19c6f Update version 2022-07-25 15:47:45 +00:00
stanzabird
a876d0cef6 Update README.md 2022-07-15 16:13:55 +00:00
Bert van der Weerd
f66f6f861d
v102.0.1-1 2022-07-09 12:00:32 +02:00
stanzabird
83b4c6db4d Update source_release 2022-07-01 16:10:44 +00:00
stanzabird
c41441bdbe Update version 2022-06-29 20:04:08 +00:00
Bert van der Weerd
f52a636d2d
fix l10n patch 2022-06-10 14:34:04 +02:00
Bert van der Weerd
350fba377c
v101.0.1-1 2022-06-09 23:18:27 +02:00
Bert van der Weerd
975d085961
v101.0-2 2022-06-01 17:48:54 +02:00
Bert van der Weerd
8c702fbdc5
v101.0-1 2022-06-01 14:43:01 +02:00
6b786547d9
fix NSIS welcome page strings 2022-05-31 16:20:42 +02:00
eb5236f6f2
Include Visual C++ Redistributable in Installer 2022-05-31 16:07:50 +02:00
Bert van der Weerd
e1f03e41f7
removed do_zip and added gpg signatures 2022-05-28 00:09:01 +02:00
Bert van der Weerd
e0081cf49e
added patch to allow l10n to run on windows 2022-05-25 13:53:01 +02:00
Bert van der Weerd
9709e3f62f
doing langpacks before the mk.py subcommand 2022-05-23 12:09:10 +02:00
stanzabird
5a14f06435 Update Makefile 2022-05-21 10:41:40 +00:00
stanzabird
430cda40b1 Update Makefile 2022-05-21 10:34:56 +00:00
stanzabird
762ee08b19 Update version 2022-05-21 09:02:24 +00:00
Bert van der Weerd
488bfd740d
v100.0.1-1 2022-05-15 10:24:56 +02:00
Bert van der Weerd
42b6233c55
removed MACH_USE_SYSTEM_PYTHON=1 2022-05-07 18:59:43 +02:00
Bert van der Weerd
35998e2a84
bugfxies 2022-05-06 18:34:18 +02:00
Bert van der Weerd
cba3ffd075
bugfixes 2022-05-06 10:26:46 +02:00
Bert van der Weerd
d82582a43a
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-05-06 09:18:00 +02:00
Bert van der Weerd
2ea06c6718
v100.0-3 2022-05-06 09:17:45 +02:00
35bd388d25 Ask user before closing LibreWolf in installer 2022-05-05 17:36:49 +02:00
Bert van der Weerd
709882a499
do_zip variable has disappeared, fixing that 2022-05-05 11:16:03 +02:00
38061dd0bf
disable updater in mozconfig again 2022-05-05 00:53:36 +02:00
Bert van der Weerd
6a5917ab48
v100.0-2.1-rc1 2022-05-04 22:40:16 +02:00
Bert van der Weerd
d123a737dd
added make langpacks 2022-05-04 20:21:11 +02:00
Bert van der Weerd
467e842b38
this release 1 2022-05-04 12:00:55 +02:00
Bert van der Weerd
34d3413e07
v99.0.1.2 2022-04-29 17:15:00 +02:00
Bert van der Weerd
8540016455
bugfixes 2022-04-28 20:34:22 +02:00
Bert van der Weerd
c5364490f2
serve-mar command added 2022-04-27 14:33:54 +02:00
Bert van der Weerd
44773d461d
creating mar files 2022-04-27 12:53:26 +02:00
Bert van der Weerd
e95da84da6
add --disable-verify-mar 2022-04-27 10:26:24 +02:00
Bert van der Weerd
49cc4b9813
add disable-verify-mar patch 2022-04-27 10:25:15 +02:00
Bert van der Weerd
78aad0d382
fixed the bogus check target 2022-04-27 10:10:20 +02:00
Bert van der Weerd
6cfec04701
v99.0.1 2022-04-12 13:48:41 +02:00
Bert van der Weerd
1ee0f36df4
bugfixes 2022-04-08 23:12:12 +02:00
Bert van der Weerd
7d5fecb789
v99.0 2022-04-08 13:10:14 +02:00
Bert van der Weerd
eb4a264fd8
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-04-01 18:04:05 +02:00
Bert van der Weerd
0cd22f9d3b
mk.py-commit 2022-04-01 18:03:50 +02:00
Bert van der Weerd
084a314db5
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-04-01 18:01:31 +02:00
Bert van der Weerd
db5d2ec46f
tools.py 2022-04-01 18:01:09 +02:00
Bert van der Weerd
216fb36503
now checking checksum 2022-03-26 12:59:58 +01:00
Bert van der Weerd
e23bc0cf20
v98.0.2 2022-03-24 21:46:46 +01:00
Bert van der Weerd
07973526bd
bugfixes 2022-03-24 14:21:34 +01:00
Bert van der Weerd
7f3990f182
moved old portable exe out of the way 2022-03-23 10:17:29 +01:00
Bert van der Weerd
0a68621cd0
rm todo.md 2022-03-19 23:34:07 +01:00
Bert van der Weerd
7386b46dc4
todo 2022-03-19 22:34:39 +01:00
Guillaume
c92bc88455 Add Scoop to the installation methods (was also added on librewolf.net)
Simplified description for portable
2022-03-11 11:51:56 +00:00
Brian
084116c930 Fixed shell command launcher 2022-03-11 11:48:50 +00:00
Bert van der Weerd
fc4f1e1424
Release v98.0 2022-03-09 17:00:38 +01:00
Bert van der Weerd
2f7ecd2e1d
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-03-05 17:45:48 +01:00
Bert van der Weerd
22da218bb4
v97.0.2 2022-03-05 17:45:33 +01:00
4641c4812d
fix: remove submodules 2022-03-05 16:58:28 +01:00
b3245a5320
nsis: use old InstallDir when already installed
See https://gitlab.com/librewolf-community/browser/windows/-/issues/178
2022-03-05 16:53:16 +01:00
Bert van der Weerd
58b2271e34
removed old zip 2022-02-28 23:52:32 +01:00
Bert van der Weerd
563c053672
bugfixes, final portable.zip looks good 2022-02-27 22:51:41 +01:00
Bert van der Weerd
f0daa09d8c
bugfixes 2022-02-27 22:43:56 +01:00
Bert van der Weerd
3aaeadc20b
First version of PortableApps zip file 2022-02-27 14:58:59 +01:00
Bert van der Weerd
cca6c0dcfb
bugfix 2022-02-23 22:06:18 +01:00
Bert van der Weerd
6f350f04f1
updated to new mozilla-build location 2022-02-23 21:30:37 +01:00
Bert van der Weerd
0150e0b2d1
bumped to version 97.0.1 2022-02-18 10:41:54 +01:00
Bert van der Weerd
de2df4e571
Updated clean and veryclean targets 2022-02-09 12:06:52 +01:00
Bert van der Weerd
ce1428938f
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-02-08 17:06:56 +01:00
Bert van der Weerd
3cb41798c6
v97.0 (source release 2) 2022-02-08 17:06:40 +01:00
Bert van der Weerd
545731c5c4
Update README.md 2022-01-28 15:03:28 +01:00
26 changed files with 17 additions and 1056 deletions

23
.gitignore vendored
View file

@ -1,23 +0,0 @@
/.vs
/firefox-*
/librewolf
/mozilla-unified
/tor-browser
/gecko-dev
/bootstrap.py
/mozconfig
/dist
/tmp.nsi
/tmp-permissive.nsi
/tmp-strict.nsi
/__pycache__
/sha256sums.txt
/upload.txt
build_tag
/docker/librewolf/debian10/deb/artifacts
/docker/librewolf/debian11/deb/artifacts
/docker/librewolf/fedora34/rpm/artifacts
/docker/librewolf/mint20/deb/artifacts
/docker/librewolf/ubuntu20/deb/artifacts
/docker/*.log
/source_release

View file

@ -1,47 +0,0 @@
.PHONY : help all clean veryclean fetch build artifacts check
help :
@echo "Use: make [all] [clean] [veryclean] [check] ..."
@echo ""
@echo " all - Build librewolf and it's windows artifacts."
@echo " clean - Remove output files and temporary files."
@echo " veryclean - Like 'clean', but also remove all downloaded files."
@echo " check - Check if there is a new version of Firefox."
@echo ""
@echo " fetch - Fetch the latest librewolf source."
@echo " build - Perform './mach build && ./mach package' on it."
@echo " debug - Perform a debug build with different 'mozconfig'."
@echo " artifacts - Create the setup.exe and the portable.zip."
@echo ""
@echo "Note: to upload, after artifacts, into the windows repo, use:"
@echo ""
@echo " python3 mk.py upload <token>"
@echo ""
all : fetch build artifacts
clean :
rm -rf work
rm -f librewolf-$(shell cat version)*.en-US.win64* sha256sums.txt upload.txt firefox-$(shell cat version).en-US.win64.zip
veryclean : clean
rm -rf librewolf-$(shell cat version)
rm -f source_release librewolf-$(shell cat version)-*.source.tar.gz
fetch :
python3 mk.py fetch
build :
python3 mk.py build
debug :
python3 mk.py build-debug
artifacts :
python3 mk.py artifacts
check : README.md
@python3 assets/update-version.py
@echo "Current release:" $$(cat ./release)

View file

@ -1,55 +1,30 @@
# LibreWolf for windows
# LibreWolf Issue Tracker & Update Tools 🚀
* **[download latest release](https://gitlab.com/librewolf-community/browser/windows/-/releases)**
* Visit [the FAQ](https://librewolf.net/docs/faq/).
* Install via _[chocolatey](https://community.chocolatey.org/packages/librewolf)_: `choco install librewolf`
* or install via _winget_: `winget install librewolf`
* **If your LibreWolf crashes on startup**, you probably miss the right [Visual C++ Runtime](https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0). You want the _Visual Studio 2015, 2017 and 2019_ version for **x64**, which would be **[this file](https://aka.ms/vs/16/release/vc_redist.x64.exe)**.
* The .zip files are _'portable zip files'_ that allows for a user profile in the extracted zip file folders. It is _self-contained_.
Welcome to the **LibreWolf for Windows** repository! This repository is now dedicated to the **Issue Tracker**. Submit your issues and get the latest updates on LibreWolf for Windows.
# Where to submit tickets
To download the latest release, visit the [official LibreWolf release page](https://gitlab.com/librewolf-community/browser/bsys6/-/releases). For installation options, check out the [FAQ](https://librewolf.net/docs/faq/).
* For all **about:config** and **librewolf.cfg** issues, go here: [[settings repository](https://gitlab.com/librewolf-community/settings/-/issues)].
* For _all other issues_ and **setup/install** issues, go here: [[issues for windows repository](https://gitlab.com/librewolf-community/browser/windows/-/issues)].
## Update Tools 🛠️
# Community links
* [[reddit](https://www.reddit.com/r/LibreWolf/)] - [r/LibreWolf](https://www.reddit.com/r/LibreWolf/) 😺
* [[gitter](https://gitter.im/librewolf-community/librewolf)], and the same room on [matrix](https://app.element.io/#/room/#librewolf-community_librewolf:gitter.im) (element.io).
* The install instructions for Windows on [librewolf.net](https://librewolf.net/installation/windows/).
Stay secure and up-to-date with these LibreWolf update tools:
# Community contributions
1. **LibreWolf WinUpdater**: Kudos to @ltguillaume for this [automatic updater](https://codeberg.org/ltguillaume/librewolf-winupdater) that can be set up to update LibreWolf automatically or run manually.
* Guillaume created a windows updater script for the Task Scheduler. You might find this handy, and it can be found [here](https://github.com/ltGuillaume/LibreWolf-WinUpdater).
2. **LibreWolf Update Checker Extension**: Created by Defkev, this [extension](https://addons.mozilla.org/en-US/firefox/addon/librewolf-updater/) will notify you when an update is available and guide you to the download link.
# Compiling the windows version
> Please note: The *updater* can _install_ updates automatically, while the *extension* can only _check_ for updates.
This segment is for people who want to build LibreWolf for themselves. The build of the LibreWolf source tarball is in public CI, so you can use that. Given that you have followed the steps in the Mozilla setup guide:
## LibreWolf for Windows 🖥️
* [Building Firefox On Windows](https://firefox-source-docs.mozilla.org/setup/windows_build.html)
- LibreWolf supports multiple UI languages, available in settings.
- The latest **-portable.zip** release is self-contained and can be run on removable storage.
Once that works, you can check out and compile LibreWolf like this:
## Issue Tracker 🎫
```
git clone https://gitlab.com/librewolf-community/browser/windows.git
cd windows
make fetch build
```
- For issues with Settings or Advanced Settings (`about:config`), submit them to the [settings repository](https://gitlab.com/librewolf-community/settings/-/issues).
- For other issues, such as crashes/theme/graphics/speed problems, submit them to [issues for windows repository](https://gitlab.com/librewolf-community/browser/windows/-/issues).
Currently a bug in `./mach package` makes this build fail, but it did produce the distribution .zip file that we're after. So after this, you can just:
## Building from Source 🏗️
```
make artifacts
```
This will produce the -setup.exe and portable .zip. Have fun!
# Uploading a release
To actually submit these artifacts to the Windows repository as release files, use:
```
python3 mk.py upload <token>
```
This would involve having a valid token, ofcourse, but also something more: [Git for Windows](https://git-scm.com/). From this package, we only need `sha256sum.exe` to calculate our checksums. Mozilla provides only `md5sum.exe` in their very old version of the mingw tools. Simply installing Git won't be enough to get `sha256sum.exe` in our path, the `C:\mozilla-build\start-shell.bat` file needs a little tweak at line 55, to read:
```
SET "PATH=%PATH%;!GITDIR!;c:\Program Files\Git\usr\bin"
```
This should put `sha256sum.exe` in your path.
- Our `bsys` build system supports cross-compiling from Linux to Windows. Building the Windows version from within Windows is not tested yet.
- The build system can be found here: [bsys6](https://gitlab.com/librewolf-community/browser/bsys6).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

View file

@ -1,36 +0,0 @@
ac_add_options --enable-application=browser
ac_add_options --allow-addon-sideload
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
ac_add_options --disable-default-browser-agent
ac_add_options --disable-tests
ac_add_options --disable-updater
ac_add_options --enable-hardening
ac_add_options --enable-optimize
ac_add_options --enable-release
ac_add_options --enable-rust-simd
#ac_add_options --with-app-name=librewolf
ac_add_options --with-branding=browser/branding/librewolf
ac_add_options --with-unsigned-addon-scopes=app,system
# see issue # https://gitlab.com/librewolf-community/browser/arch/-/issues/49
export MOZ_REQUIRE_SIGNING=
mk_add_options MOZ_CRASHREPORTER=0
mk_add_options MOZ_DATA_REPORTING=0
mk_add_options MOZ_NORMANTY=0
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
mk_add_options MOZ_TELEMETRY_REPORTING=0
#
# windows specific.
#
# - no need to specify wasi sdk folder
#
ac_add_options --disable-updater
ac_add_options --disable-maintenance-service
ac_add_options --enable-strip

View file

@ -1,6 +0,0 @@
ac_add_options --enable-application=browser
ac_add_options --enable-debug
#ac_add_options --with-app-name=librewolf
ac_add_options --with-branding=browser/branding/librewolf

View file

@ -1,15 +0,0 @@
diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
index 4daacdb..8edd77f 100644
--- a/browser/installer/package-manifest.in
+++ b/browser/installer/package-manifest.in
@@ -397,8 +397,8 @@ bin/libfreebl_64int_3.so
; [MaintenanceService]
;
#ifdef MOZ_MAINTENANCE_SERVICE
-@BINPATH@/maintenanceservice.exe
-@BINPATH@/maintenanceservice_installer.exe
+;@BINPATH@/maintenanceservice.exe
+;@BINPATH@/maintenanceservice_installer.exe
#endif
; [Crash Reporter]

View file

@ -1,159 +0,0 @@
!include "MUI2.nsh"
!include "LogicLib.nsh"
!addplugindir .
!addplugindir x86-ansi
!define APPNAME "LibreWolf"
!define PROGNAME "librewolf"
!define EXECUTABLE "${PROGNAME}.exe"
!define PROG_VERSION "pkg_version"
!define COMPANYNAME "LibreWolf"
!define ESTIMATED_SIZE 190000
!define MUI_ICON "librewolf.ico"
!define MUI_WELCOMEFINISHPAGE_BITMAP "banner.bmp"
Name "${APPNAME}"
OutFile "${PROGNAME}-${PROG_VERSION}.en-US.win64-setup.exe"
InstallDir $PROGRAMFILES64\${APPNAME}
RequestExecutionLevel admin
# Pages
!define MUI_ABORTWARNING
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_LANGUAGE "English"
Section
# Make sure LibreWolf is closed before the installation
nsProcess::_FindProcess "${EXECUTABLE}"
Pop $R0
${If} $R0 = 0
IfSilent 0 +4
DetailPrint "${APPNAME} is still running, aborting because of silent install."
SetErrorlevel 2
Abort
DetailPrint "${APPNAME} is still running. Closing it gracefully..."
nsProcess::_CloseProcess "${EXECUTABLE}"
Pop $R0
Sleep 2000
nsProcess::_FindProcess "${EXECUTABLE}"
Pop $R0
${If} $R0 = 0
DetailPrint "Failed to close ${APPNAME}, killing it..."
nsProcess::_KillProcess "${EXECUTABLE}"
Sleep 2000
nsProcess::_FindProcess "${EXECUTABLE}"
Pop $R0
${If} $R0 = 0
DetailPrint "Failed to kill ${APPNAME}, aborting"
MessageBox MB_ICONSTOP "LibreWolf is still running and can't be closed by the installer. Please close it manually and try again."
SetErrorlevel 2
Abort
${EndIf}
${EndIf}
${EndIf}
# Copy files
SetOutPath $INSTDIR
File /r librewolf\*.*
# Start Menu
createDirectory "$SMPROGRAMS\${COMPANYNAME}"
createShortCut "$SMPROGRAMS\${COMPANYNAME}\${APPNAME}.lnk" "$INSTDIR\${PROGNAME}.exe" "" "$INSTDIR\${MUI_ICON}"
createShortCut "$SMPROGRAMS\${COMPANYNAME}\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" ""
# Uninstaller
writeUninstaller "$INSTDIR\uninstall.exe"
# Registry information for add/remove programs
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayName" "${APPNAME}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\""
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "InstallLocation" "$\"$INSTDIR$\""
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayIcon" "$\"$INSTDIR\${MUI_ICON}$\""
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "Publisher" "${COMPANYNAME}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayVersion" "${PROG_VERSION}"
# There is no option for modifying or repairing the install
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "NoModify" 1
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "NoRepair" 1
# Set the INSTALLSIZE constant (!defined at the top of this script) so Add/Remove Programs can accurately report the size
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "EstimatedSize" ${ESTIMATED_SIZE}
#
# Registry information to let Windows pick us up in the list of available browsers
#
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf" "" "LibreWolf"
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities" "ApplicationDescription" "LibreWolf"
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities" "ApplicationIcon" "$INSTDIR\librewolf.exe,0"
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities" "ApplicationName" "LibreWolf"
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities\FileAssociations" ".htm" "LibreWolfHTM"
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities\FileAssociations" ".html" "LibreWolfHTM"
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities\FileAssociations" ".pdf" "LibreWolfHTM"
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities\Startmenu" "StartMenuInternet" "LibreWolf"
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities\URLAssociations" "http" "LibreWolfHTM"
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities\URLAssociations" "https" "LibreWolfHTM"
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\DefaultIcon" "" "$INSTDIR\librewolf.exe,0"
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\shell\open\command" "" "$INSTDIR\librewolf.exe"
WriteRegStr HKLM "Software\RegisteredApplications" "LibreWolf" "Software\Clients\StartMenuInternet\LibreWolf\Capabilities"
WriteRegStr HKLM "Software\Classes\LibreWolfHTM" "" "LibreWolf Handler"
WriteRegStr HKLM "Software\Classes\LibreWolfHTM" "AppUserModelId" "LibreWolf"
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "AppUserModelId" "LibreWolf"
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "ApplicationIcon" "$INSTDIR\librewolf.exe,0"
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "ApplicationName" "LibreWolf"
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "ApplicationDescription" "Start the LibreWolf Browser"
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "ApplicationCompany" "LibreWolf Community"
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\DefaultIcon" "" "$INSTDIR\librewolf.exe,0"
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\shell\open\command" "" "$INSTDIR\librewolf.exe %1"
SectionEnd
# Uninstaller
section "Uninstall"
# Kill LibreWolf if it is still running
nsProcess::_FindProcess "${EXECUTABLE}"
Pop $R0
${If} $R0 = 0
DetailPrint "${APPNAME} is still running, killing it..."
nsProcess::_KillProcess "${EXECUTABLE}"
Sleep 2000
${EndIf}
# Remove Start Menu launcher
delete "$SMPROGRAMS\${COMPANYNAME}\${APPNAME}.lnk"
delete "$SMPROGRAMS\${COMPANYNAME}\Uninstall.lnk"
# Try to remove the Start Menu folder - this will only happen if it is empty
rmDir "$SMPROGRAMS\${COMPANYNAME}"
# Remove files
rmDir /r $INSTDIR
# Remove uninstaller information from the registry
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}"
#
# Windows default browser integration
#
DeleteRegKey HKLM "Software\Clients\StartMenuInternet\LibreWolf"
DeleteRegKey HKLM "Software\RegisteredApplications"
DeleteRegKey HKLM "Software\Classes\LibreWolfHTM"
sectionEnd

View file

@ -1,145 +0,0 @@
#!/usr/bin/env python3
import os
import sys
import optparse
import subprocess,os.path
parser = optparse.OptionParser()
parser.add_option('-n', '--no-execute', dest='no_execute', default=False, action="store_true")
options, remainder = parser.parse_args()
# native()/bash()/exec() utility functions
def native(cmd,exit_on_fail = True,do_print=True):
sys.stdout.flush()
if do_print:
print(cmd)
sys.stdout.flush()
retval = os.system(cmd)
if retval != 0 and exit_on_fail:
sys.exit(retval)
return retval
def bash(cmd,exit_on_fail = True,do_print=True):
tmp = []
tmp += ['c:/mozilla-build/msys/bin/bash.exe', '-c', cmd]
sys.stdout.flush()
if do_print:
print(cmd)
sys.stdout.flush()
retval = subprocess.run(tmp).returncode
if retval != 0 and exit_on_fail:
sys.exit(retval)
return retval
def exec(cmd,exit_on_fail = True, do_print=True):
_native = False
if not os.path.isfile('c:/mozilla-build/msys/bin/bash.exe'):
_native = True
if _native:
return native(cmd,exit_on_fail,do_print)
return bash(cmd,exit_on_fail,do_print)
#
#
#def exec(cmd, exit_on_fail = True, do_print = True):
# if cmd != '':
# if do_print:
# print(cmd)
# if not options.no_execute:
# retval = os.system(cmd)
# if retval != 0 and exit_on_fail:
# print("fatal error: command '{}' failed".format(cmd))
# sys.exit(1)
# return retval
# return None
#
#
def get_version_from_file(version_filename = './version'):
with open(version_filename) as f:
lines = f.readlines()
if len(lines) != 1:
sys.stderr.write('error: ./version contains too many lines.')
os.exit(1)
return lines[0].strip()
return None
def make_version_string(major,minor,patch):
if patch == 0:
return '{}.{}'.format(major,minor)
else:
return '{}.{}.{}'.format(major,minor,patch)
def firefox_release_url(ver):
return 'https://archive.mozilla.org/pub/firefox/releases/{}/source/firefox-{}.source.tar.xz'.format(ver, ver)
def check_url_exists(url):
print('[debug] checking url: {}'.format(url))
#i = exec('wget --spider {} 2>/dev/null'.format(url), exit_on_fail=False)
i = exec('wget --spider {}'.format(url), exit_on_fail=False)
print('[debug] return value: {}'.format(i))
if i == 0:
return True
else:
return False
#
# main script
#
base_version = get_version_from_file()
# split base_version into major.minor.patch
split_version = base_version.split(sep='.')
if len(split_version) > 3 or len(split_version) < 1:
sys.stderr.write('error: ./version file contains invalid version number')
sys.exit(1)
elif len(split_version) == 1:
major = int(split_version[0])
minor = 0
patch = 0
elif len(split_version) == 2:
major = int(split_version[0])
minor = int(split_version[1])
patch = 0
elif len(split_version) == 3:
major = int(split_version[0])
minor = int(split_version[1])
patch = int(split_version[2])
# now check if this version exists with Mozilla
if not check_url_exists(firefox_release_url(make_version_string(major,minor,patch))):
sys.stderr.write('error: The current version is unavailable.\n')
sys.exit(1)
# Check for releases..
s = ''
if check_url_exists(firefox_release_url(make_version_string(major,minor,patch+1))):
s = ('{}.{}.{}'.format(major,minor,patch+1))
elif check_url_exists(firefox_release_url(make_version_string(major,minor+1,0))):
s = ('{}.{}'.format(major,minor+1))
elif check_url_exists(firefox_release_url(make_version_string(major+1,0,0))):
s = ('{}.0'.format(major+1))
else:
s = base_version
if s != base_version:
print('The wheel has turned, and version {} has been released.'.format(s))
with open('./version', 'w') as f:
f.write(s)
exec('echo 0 > release')
else:
print('Latest Firefox release is still {}.'.format(base_version))
sys.exit(0) # ensure 0 exit code

View file

@ -1,3 +0,0 @@
librewolf-portable.aps
.vs
x64

View file

@ -1,3 +0,0 @@
# librewolf-portable
Execute librewolf.exe -profile Profiles\Default

View file

@ -1,30 +0,0 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by librewolf-portable.rc
#define IDS_APP_TITLE 103
#define IDR_MAINFRAME 128
#define IDD_LIBREWOLFPORTABLE_DIALOG 102
#define IDD_ABOUTBOX 103
#define IDM_ABOUT 104
#define IDM_EXIT 105
#define IDI_LIBREWOLFPORTABLE 107
#define IDI_SMALL 108
#define IDC_LIBREWOLFPORTABLE 109
#define IDC_MYICON 2
#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC 130
#define _APS_NEXT_RESOURCE_VALUE 129
#define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 110
#endif
#endif

View file

@ -1 +0,0 @@
msbuild /t:Clean,Build /p:Configuration=Release

View file

@ -1,64 +0,0 @@
// librewolf-portable.cpp : Run librewolf.exe with -profile parameter.
//
#include <windows.h>
int
fileExists(TCHAR* file)
{
WIN32_FIND_DATA FindFileData;
HANDLE handle = FindFirstFile(file, &FindFileData);
int found = (handle != INVALID_HANDLE_VALUE);
if (found)
FindClose(handle);
return found;
}
int APIENTRY
wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow)
{
//https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd
constexpr DWORD max_path = 32767;
static TCHAR path[max_path], dir[max_path], exe[max_path], cmdline[max_path];
GetModuleFileName(NULL, path, max_path);
*wcsrchr(path,L'\\') = L'\0';
wcscpy_s(dir, path);
wcscat_s(dir, L"\\Profiles\\Default");
wcscpy_s(exe, path);
wcscat_s(exe, L"\\librewolf.exe");
if (!fileExists(exe)) {
wcscpy_s(exe, path);
wcscat_s(exe, L"\\LibreWolf\\librewolf.exe");
if (!fileExists(exe)) {
MessageBox(NULL, L"Can\'t find librewolf.exe in the current or LibreWolf folder.", path, MB_OK);
return 1;
}
}
wsprintf(cmdline, L"\"%s\" -profile \"%s\" %s", exe, dir, lpCmdLine);
STARTUPINFOW siStartupInfo;
PROCESS_INFORMATION piProcessInfo;
memset(&siStartupInfo, 0, sizeof(siStartupInfo));
memset(&piProcessInfo, 0, sizeof(piProcessInfo));
siStartupInfo.cb = sizeof(siStartupInfo);
if (!CreateProcess(exe, cmdline, NULL, NULL, FALSE, NORMAL_PRIORITY_CLASS, NULL, NULL, &siStartupInfo, &piProcessInfo))
{
DWORD i = GetLastError();
wsprintf(dir, L"CreateProcess() failed with error %i", i);
MessageBox(NULL, dir, L"librewolf-portable", MB_OK);
return 1;
}
CloseHandle(piProcessInfo.hProcess);
CloseHandle(piProcessInfo.hThread);
return 0;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

View file

@ -1,31 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31424.327
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "librewolf-portable", "librewolf-portable.vcxproj", "{363A5584-2FEA-46A3-A52B-7254D932AABA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Debug|x64.ActiveCfg = Debug|x64
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Debug|x64.Build.0 = Debug|x64
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Debug|x86.ActiveCfg = Debug|Win32
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Debug|x86.Build.0 = Debug|Win32
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Release|x64.ActiveCfg = Release|x64
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Release|x64.Build.0 = Release|x64
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Release|x86.ActiveCfg = Release|Win32
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {968E3E1E-9A31-4937-A7E9-FF45C074E14E}
EndGlobalSection
EndGlobal

View file

@ -1,160 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{363a5584-2fea-46a3-a52b-7254d932aaba}</ProjectGuid>
<RootNamespace>librewolfportable</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="framework.h" />
<ClInclude Include="librewolf-portable.h" />
<ClInclude Include="Resource.h" />
<ClInclude Include="targetver.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="librewolf-portable.cpp" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="librewolf-portable.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="librewolf-portable.ico" />
<Image Include="small.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View file

@ -1,49 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="framework.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="targetver.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Resource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="librewolf-portable.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="librewolf-portable.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="librewolf-portable.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Image Include="small.ico">
<Filter>Resource Files</Filter>
</Image>
<Image Include="librewolf-portable.ico">
<Filter>Resource Files</Filter>
</Image>
</ItemGroup>
</Project>

View file

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View file

@ -1,6 +0,0 @@
#pragma once
// // Including SDKDDKVer.h defines the highest available Windows platform.
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
#include <SDKDDKVer.h>

230
mk.py
View file

@ -1,230 +0,0 @@
#!/usr/bin/env python3
import os,sys,subprocess,os.path
# native()/bash()/exec() utility functions
def native(cmd,do_print=True):
sys.stdout.flush()
if do_print:
print(cmd)
sys.stdout.flush()
retval = os.system(cmd)
if retval != 0:
sys.exit(retval)
def bash(cmd,do_print=True):
tmp = []
tmp += ['c:/mozilla-build/msys/bin/bash.exe', '-c', cmd]
sys.stdout.flush()
if do_print:
print(cmd)
sys.stdout.flush()
retval = subprocess.run(tmp).returncode
if retval != 0:
sys.exit(retval)
def exec(cmd,do_print=True):
_native = False
if not os.path.isfile('c:/mozilla-build/msys/bin/bash.exe'):
_native = True
if _native:
return native(cmd,do_print)
return bash(cmd,do_print)
def patch(patchfile):
cmd = "patch -p1 -i {}".format(patchfile)
sys.stdout.flush()
print("\n*** -> {}".format(cmd))
sys.stdout.flush()
retval = os.system(cmd)
if retval != 0:
sys.stdout.flush()
print("fatal error: patch '{}' failed".format(patchfile))
sys.stdout.flush()
sys.exit(retval)
#
# main functions
#
def fetch():
exec('wget -q -O version https://gitlab.com/librewolf-community/browser/source/-/raw/main/version')
exec('wget -q -O source_release https://gitlab.com/librewolf-community/browser/source/-/raw/main/release')
exec('wget -O librewolf-$(cat version)-$(cat source_release).source.tar.gz https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-$(cat version)-$(cat source_release).source.tar.gz?job=Build')
def build(debug=False):
exec('rm -rf librewolf-$(cat version)')
exec('tar xf librewolf-$(cat version)-$(cat source_release).source.tar.gz')
with open('version','r') as file:
version = file.read().rstrip()
os.chdir('librewolf-{}'.format(version))
# patches
if debug:
exec('cp -v ../assets/mozconfig.windows.debug mozconfig')
else:
exec('cp -v ../assets/mozconfig.windows mozconfig')
patch('../assets/package-manifest.patch')
# perform the build and package
exec('MACH_USE_SYSTEM_PYTHON=1 ./mach build')
exec('MACH_USE_SYSTEM_PYTHON=1 ./mach package')
os.chdir('..')
def artifacts():
# Trying to fix issue #146 -> https://gitlab.com/librewolf-community/browser/windows/-/issues/146
# (keep this False for now)
_with_app_name = False
with open('version','r') as file1:
version = file1.read().rstrip()
source_release = ''
with open('source_release','r') as file3:
source_release = file3.read().rstrip()
buildzip_filename = 'firefox-{}-{}.en-US.win64.zip'.format(version,source_release)
if _with_app_name:
buildzip_filename = 'librewolf-{}-{}.en-US.win64.zip'.format(version,source_release)
exec('cp -v librewolf-{}/obj-x86_64-pc-mingw32/dist/{} .'.format(version,buildzip_filename))
exec('rm -rf work && mkdir work')
os.chdir('work')
exec('unzip ../{}'.format(buildzip_filename))
if not _with_app_name:
exec('mv firefox librewolf')
os.chdir('librewolf')
if not _with_app_name:
exec('mv firefox.exe librewolf.exe')
os.chdir('..')
os.chdir('..')
# let's get 'release'.
with open('release','r') as file2:
release = file2.read().rstrip()
if release == '0' :
full_version = '{}'.format(version)
else:
full_version = '{}.{}'.format(version,release)
# let's copy in the .ico icon.
exec('cp -v assets/librewolf.ico work/librewolf')
# Let's make the portable zip first.
os.chdir('work')
exec('rm -rf librewolf-{}'.format(version))
os.makedirs('librewolf-{}/Profiles/Default'.format(version), exist_ok=True)
os.makedirs('librewolf-{}/LibreWolf'.format(version), exist_ok=True)
exec('cp -vr librewolf/* librewolf-{}/LibreWolf'.format(version))
exec('wget -q -O librewolf-{}/librewolf-portable.exe https://gitlab.com/librewolf-community/browser/windows/uploads/64b929c39999d00efb56419f963e1b22/librewolf-portable.exe'.format(version))
zipname = 'librewolf-{}.en-US.win64.zip'.format(full_version)
exec("rm -f ../{}".format(zipname))
exec("zip -qr9 ../{} librewolf-{}".format(zipname,version))
os.chdir('..')
# With that out of the way, we need to create the nsis setup.
os.chdir('work')
exec("mkdir x86-ansi")
exec("wget -q -O ./x86-ansi/nsProcess.dll https://shorsh.de/upload/we7v/nsProcess.dll")
setupname = 'librewolf-{}.en-US.win64-setup.exe'.format(full_version)
exec('sed \"s/pkg_version/{}/g\" < ../assets/setup.nsi > tmp.nsi'.format(full_version))
exec('cp -v ../assets/librewolf.ico .')
exec('cp -v ../assets/banner.bmp .')
exec('makensis-3.01.exe -V1 tmp.nsi')
exec('rm -rf tmp.nsi librewolf.ico banner.bmp x86-ansi')
exec("mv {} ..".format(setupname))
os.chdir('..')
# Utility function to upload() function.
def do_upload(filename,token):
exec('echo _ >> upload.txt')
exec('curl --request POST --header \"PRIVATE-TOKEN: {}\" --form \"file=@{}\" \"https://gitlab.com/api/v4/projects/13852981/uploads\" >> upload.txt'.format(token,filename),False)
exec('echo _ >> upload.txt')
def upload(token):
with open('version','r') as file1:
version = file1.read().rstrip()
with open('release','r') as file2:
release = file2.read().rstrip()
if release == '0' :
full_version = '{}'.format(version)
else:
full_version = '{}.{}'.format(version,release)
# Files we need to upload..
zip_filename = 'librewolf-{}.en-US.win64.zip'.format(full_version)
setup_filename = 'librewolf-{}.en-US.win64-setup.exe'.format(full_version)
exec('sha256sum {} {} > sha256sums.txt'.format(setup_filename,zip_filename))
exec('rm -f upload.txt')
do_upload(setup_filename,token)
do_upload(zip_filename,token)
do_upload('sha256sums.txt',token)
#
# parse commandline for commands
#
help_msg = '''
Use: ./mk.py <command> ...
commands:
fetch
build
build-debug
artifacts
upload <token>
'''
done_something = False
in_upload=False
for arg in sys.argv:
if in_upload:
upload(arg)
done_something=True
elif arg == 'fetch':
fetch()
done_something = True
elif arg == 'build':
build()
done_something = True
elif arg == 'build-debug':
build(True)
done_something = True
elif arg == 'artifacts':
artifacts()
done_something = True
elif arg == 'upload':
in_upload = True
else:
if arg == sys.argv[0]:
pass
else:
print(help_msg)
sys.exit(1)
if done_something:
sys.exit(0)
print(help_msg)
sys.exit(1)

View file

@ -1 +0,0 @@
0

View file

@ -1 +0,0 @@
96.0.3