You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently all the components (Firefox, i2pd, extensions, langpacks) version are hardcoded, which has a couple of disadvantages:
Periodic commits required to simply re-hardcode the version
Firefox will be out of date - and since the bundle disable autoupdate the only way to update Firefox is update the version in the script and rerun it.
Also the script fails to update Firefox if it's already downloaded (which may or may not be intended), so you need to delete the old Firefox folder first.
Unpacking the installer and deleting unnecessary files
A duplicate file name exists, or the file cannot be found.
Could Not Find V:\Programs\I2PdBrowserPortable_4137cbb-windows\Firefox\App\Firefox\browser\crashreporter-override.ini
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
Could Not Find V:\Programs\I2PdBrowserPortable_4137cbb-windows\Firefox\App\Firefox\Accessible*.*
...
Could Not Find V:\Programs\I2PdBrowserPortable_4137cbb-windows\Firefox\App\Firefox\update*.*
A subdirectory or file ..\Firefox\App\Firefox\browser\extensions already exists.
OK!
I think we should try to move away from this in favor of checking the newest version and downloading it.
For getting the version from it one could use jq, or if we are trying to keep the dependency to a minimum, then I wrote little blurb using just batch and busybox (replace FIREFOX_ESR115 with FIREFOX_ESR once 115 goes out of support).
Speaking of keeping dependency to a minimum, we can replace curl with busybox wget and remove sed as it's already included also. (Also maybe replace 7z.exe and 7z.dll with just 7za/7zr...)
I just found out the language packs are stored on the Mozilla FTP with a static URL also.
I think we can replace the hardcoded https://addons.mozilla.org/firefox/downloads/file/4144407/english...xpi with https://ftp.mozilla.org/pub/firefox/releases/%FFversion%/win64/xpi/%locale%.xpi
I'm against of use of the latest versions of FF, other than used in scripts, because you can never know what have been done to browser and if there any pieces (of integrated to binary or omni.ja) code, which will create any external requests bypassing proxy settings.
What about noscript and language packs - that's good idea.
I would say that's why we use Firefox ESR in the first place - only security fixes without any breaking changes. We might be alright only checking for changes every ESR cycle (115 to 128, 128 to 140). It depends on the balance of possible 0-day risks to possible request leakage I suppose.
Otherwise yeah everything else (I2Pd itself, noscript, langpacks) shouldn't have any risk at all.
Currently all the components (Firefox, i2pd, extensions, langpacks) version are hardcoded, which has a couple of disadvantages:
I think we should try to move away from this in favor of checking the newest version and downloading it.
jq
, or if we are trying to keep the dependency to a minimum, then I wrote little blurb using just batch andbusybox
(replaceFIREFOX_ESR115
withFIREFOX_ESR
once 115 goes out of support).curl
withbusybox wget
and removesed
as it's already included also. (Also maybe replace7z.exe
and7z.dll
with just7za
/7zr
...)The text was updated successfully, but these errors were encountered: