General TC > Programming & Scripting - Unofficial

Firefox - Extension to install the latest version

<< < (18/18)

andrewb:
firefox_getLatest not working today (12/11/25) as download location is now.....releases/nnn.n/linux-x86_64/........., not .....releases/nnn.n/linux-i686/.........

Works OK if i686 changed to x86_64 in firefox_getLatest.sh

CNK:
The download location is automatically changed to x86_64 when uname -m is x86_64 and a file matching /lib/ld-linux-x86-64.so.* exists. This works for me in TC16 Pure64.

What isn't working is the auto-detection for the latest Firefox version (except ESR) because that used a 32bit URL. Mozilla have unfortunately ceased supporting 32bit Linux with version 145.

Change:

--- Code: ---addressX='http://download.mozilla.org/?os=linux&product='

--- End code ---
To:

--- Code: ---addressX='http://download.mozilla.org/?os=linux64&product='

--- End code ---

And it works.

But that doesn't explain your problem with the download. Are you running the script on 32bit Tiny Core?

andrewb:
Oooops! - Yes running on a eeepc 32-bit. I missed the announcement that 32-bit Firefox had been discontinued at V145.
All good for now with 140.5.0ESR

CNK:
firefox_getLatest.sh v2.13 is now available, fixing the broken Firefox version detection.

Changes

* Now detects the latest Firefox version for the specific system architecture in use (x86, x86_64, or AARCH64)
* Automatically switches to the Firefox ESR release channel on 32bit x86 since others are discontinued
* Removed libGLES from dependencies since Firefox works without it and alone it isn't enough to enable 3D acceleration. Load Xorg-7.7-3d.tcz (Xorg-3d.tcz on PiCore), and maybe pciutils.tcz, to try and enable hardware graphics acceleration in Firefox when using Xorg.
An updated firefox_getLatest.tcz extension has been submitted for approval.

Navigation

[0] Message Index

[*] Previous page

Go to full version